syntax fixes and code clean up all around.

Fixed grant categories.
Fixed grant payperiod.
cleaned up code in time tracking and grant while on vacation .