Fixed date and datetime handling, and fixed the bug where the console would freeze if a ticket's client no longer existed.