make the output prettier, add some logging - closes #1, #2, #3