Changed window creation interface in GLUS. Fixed some bugs in GLUS.