Moved uploading of attributes and uniforms to draw methods.
Otherwise this is done when the context is entered, and again
when data is reset. Plus this prevents spurious warnings when
the atribute or uniform is not set, because indeed, it only
needs to be set when we draw.