Calendar overhaul

Multiple minor stuff. Mostly calendar and appointment-related stuff.