added resolution, resizable and fullscreen flags for window creation
added setfullscreen method for window