Get the sodding parameters the right way around.

* Idiot.
Fetching texture records more consistently/easily
Just warn for programs found that have no shaders attached

* Seen in Clockwork Empires, eventually this won't be a problem as the
  programs will get trimmed via not being referenced in the captured frame
Handle glCopyTexImage as proper creation functions, not just copies

* Seen in Clockwork Empires - glCopyTexImage was used to create a texture
  and this wasn't being handled properly.