minor improvements
add support for window resizing in the glut backend and improve the makefile