Ensure a texture is not left in "no GPU object" state if reloading from a file fails. Closes #379.
For Travis CI - switch CI build to use OS X build environment.