bunch of new commands.

also cleaning up interactive mode a bit.