improvements in logging and hipchat listener
improved logging
added debug flag