Added mouse listener and projector initialisation. Adjusted access to canvas width and height.