Refactored a bunch of code that didn't belong in main.c
Made keypad and serial time updates mutually consistent
Cleaned up a bunch of time editing behaviours