Moved update() and render() functions outside of intervals
Made c and ctx global variables
Implemented mouse (cursor) and set mouse position tracking
Fixed canvas width/height setting which caused ctx to be blank