More robust event handling
If an app uses more than 1 GL context, there could be a collision during the asynchronous event handling. E.g. resize event for window1 arrives while window2 context is active, so the subsequent call to gl.viewport()
doesn't work.
Added the makeCurrent()
call to the class Window
event handling mechanism.