Move glewInit from initLibraries to openWindow