Added timing namespace with a GetTime method
Redid mainloop interface and implemented most methods in SimpleMainloop
Moved up most of SimpleMainloop into BaseMainloop and used it to extend ProcessMainloop and ThreadedMainloop