remove doneSeconds
better handling of toplen in interactive mode