Update main.c

Cleaning up handle_minute_tick.  Moved static char arrays to file scope as it makes more sense to have these variables file scope.  Changed some static char arrays to const char arrays because they will never change.  Changed text manipulation to better make use of the standard library.