proposed fix for issue #74, lookup texture name from active texture + bo...

...und state