Fixed several issues

* Fixed shader editor text input
* Added simple error handling for texture loading
Merge branch 'master' of https://github.com/sopyer/Infinity