-Codechange: Move the main loop to the video driver.

git-svn-id: https://freerct.googlecode.com/svn/trunk@1182 d3bf82d2-0c16-e458-5408-27be57bd1276
-Codechange: Also add the event code to the video system.

git-svn-id: https://freerct.googlecode.com/svn/trunk@1183 d3bf82d2-0c16-e458-5408-27be57bd1276