Fix issue #20.

Two things to fix this:
- Re-hide the prompt command (done a little clumsily at the moment) as a debug event.
- Suppress commands for which no debug events have fired (e.g. nothing happened).