Standardising mousetracking template - still much to import from my personal code