mouse done. Optimization remaining
mouse interface done