Close the allowance window, more thorough example
Clean out unnecessary trajectories