Implemented 'state_dump' command

It occurs to me now that each command should probably be its own state,
and state dump should be requested rather than automatically dumped
at startup.