Comment functions on timeutils.h
Clean up curses_ui.c

Move getting the appts for a day from curses_ui.c to appts.c where it
belongs.