Added mouse tracking and cursor