added basic window initialization, fixed glew preprocessor problem