Miscellaneous fixes

Just a few bugfixes that I came up with in order to run ftrace script on my code under test:

* avoid crashing even though 'dot' is not currently installed
* respect '-o' option when dumping output in text format
* make detection of response to breakpoint command more robust, since it tended to eventually fail when setting large number of breakpoints