Refuse texture combinators on compressed textures.

Also some small fixes spotted by coverity.