Fixed bugs with Terminal log and print options

* terminal.log was incorrectly deleted
* print-commands option did not work
* Added --no-terminal-output to disable all output to terminal