Added fullscreen support
Changed fullscreen functionality to respond to mode, rather than width==height==0 for setting fullscreen