Fixed selection bug on video deleting
Autosave trajectories when video ends
Start migrating to project-based analysis