Some minor refactoring.
Moved configuration to separate form. Added option to show past appointments from the selected day (previous in time, that is). Added some tooltips.