Many bugfixes to the texture related code