Better logging that one can intercept.
Added tests for new automatic start functionality.
Cleaning whitespaces.