Renamed data.glsl to attributes.glsl.
Fixed up unsigned to signed int comparisons.
Removed unused variables.