always sets object mode, doesnt try tocopy texture which doesnt exist
added camera invert Y checkbox (added fps camera checkbox too but it doesnt have code yet)
tabs to spaces
Merge pull request #8 from bosoni/master

invert Y checkbox