Fix GLSL array initialization and unused variable warning/error