Adds logging.
Improved visualization of results.