Reorganized Mouse.pde code into smaller pieces.