Added the ability to stop to save periodogram information.