Fix some command mode stuff; add 'save' command
C is terrible but I love it anyway