Shorten debug message.
Remove unused code.
All optimizers can now be aborted with Ctrl+C.