Use instance variable to access space from mouse, instead of global window.
Allow queuing of draw operations so draw calls can be done inside of update.