Fixed glBindAttribLocation being called after program linking
Cleaning up texture class