More user friendly calendar timing

Replaced the date/time information for upcoming calendar events by number of hours and minutes before it starts. Also remove the calendar event 15 minutes after start.

Replaced all int types by intxx_t. Let's see if it improves stability.