Added some basic events.
Added the FrameRateTracker system.
Changed event timestamps to ints from long longs.
Initial main app integration with MainLoop system.