Misc. code cleanup.
Allow anyone to use the commands.
Add reset command.