Fixed minimising actions.
Implemented a method to capture the output and error streams of the
console.
Added an option to enable and disable capturing the console, an option
to show only errors in the log, threaded 'save as HTML' to be much
faster, and fixed some bugs.