AbstractWindow now handles fullscreen mode and dimensions in constructor.