Fixed NPEs
Send internal error if the daemon does not connect
Refactored
Improved test coverage
TextUI: show internal error message on its own line
TextUI: don't show total number of tests, it's unnecessary information