added glew to reqs
minor code cleanup