Update main.c

Cleaned up handle_minute_tick.  Move static variables out to file scope (this makes more sense because the variables are being accessed at file scope).  Changed some static char[] to be const char[] because they will never change.