Added error check to GLEW initialize
Added handler and viewport change on resize