oh, forgot to say that I changed the old window manager (GLUT) to GLFW because it is newer than GLUT and it provides a simple api for multithreading. (dunno when I will implement multithreading or am I going to implement it at all, but nice to have a some kind of ground in case I do