change back from fullscreen to window mode
clean up test and timing code