Restructured the mousetracking
Renamed the first_pass module into pass1
Added a new module mousetracking providing convenient access methods
Hopefully fixed a memory leak