Misc: Remove dead code.
Misc: Fix count of invalid commands introduced in c91916ae. Closes GH-439.
Misc: Add tests for “list --unloaded” and command flood.