Small tweaks
Hide CLI output in tests
Remove temporary files on exit or cancel

Fixes #127.