Simplified some code

Removed unnecessary events and their listeners and simplified the
surpressing of log messages that don't make it above the configured
level.