implemented more functionality

TODO: closing!
bufferMess needs to be virtual

in order to get called
window-hints must go before window-creation
allow setting the openGL profile