Picking correct versions of glm and oglplus
cleanup and fixing some warnings