JANITORIAL: Remove trailing whitespace
JANITORIAL: "if(" -> "if ("
JANITORIAL: NULL -> 0

In C++, NULL is always 0.
We use 0 everywhere else, so to be consistent, change these
NULL to 0 too.
GLEW: Upgrade to version 1.10.0