Small improvements to glo which hopefully fix some bugs and solve problems with nvidia.