Fix large swath of warnings, fix most render-methods
Merge upstream
Merge pull request #93 from skyboy/master

Fix warnings and most texture things