whitespace
use console.error for errors and exceptions
rename some options
add a file transport