reimplemented camera and scene manager, window closes on ESC