Moved creation of window into Engine-constructor, + cleanup