Minor windows (VS2010) fixes - empty blocks, unused variables, string character index errors
Fixed SDL2 issue with missing GL context