Split gameframe into main game and window,