Timehandler finally works.

Also started work on getting closest appointment, not the first object
in the day-array. Complicated because my generated appointment-objects
seem to get set to  year 0000 when i move them, but user-created ones
work the way they should.