Restart Octave for uncaught exception.
Improve help formatting and add docstring, refactor and cleanup