Add some debugging stuff to highlight textures

I've been using this to identify textures quickly.  There are probably better ways but it's a quick and dirty one.

Also some minor tweaks.  I don't think we hit any of the cases where we unbind the texture and then think we still did, but figure it's better to be safe.

-[Unknown]