Debugging, refactoring, and some new functionality (including a CommandHandler role and the seen command)