fixed screen resizing, added fullscreen support, panel resizing etc