Moved time and joystick to system. Note: Broken except opengl on win32