removed unnecessary resolution change and window reposition. use openGL 2.0 by default (Win)
added focus to nwly created window