better error handling, some tweaks to error reporting, more exceptions, a 'listening' log message