MAJOR CHANGE
Removed BitsPerPixel and Flags parameters for window creation