window restores size on exit fullscreen
added 2D drawing helpers