Delete obsolete options.
Add debug option.
Show debug messages.