Tidied up app state

- Trajectory playback