Debug mode now enabled by --debug switch. Closes #36.