Add support for disabling crash commands

fixes #587 and #588