Fixed some destructor issues and bugs with UniformBind operations on older machines
Fixed some remaining bugs with uniform-bindings