Added a window, pixel buffer, and threaded screen painter