removing index from square and adding it to shaders instead. releasing video after stopping.