Framework: Separate init/uninit from Go() so that its possible to create framework without it blocking. set_run_args to set cmd line arguments. Pump() for conviniance to run one iteratino of main loop. These changes are required in order to run unit tests.
Implement unit tests and a custom framework for building and running all tests easily. Implement Scene tests from rex/tundra2.