new callback for listener; feedback; logging.

Added OnDisconnect callback for Listener()
Cleaned up logging functions
disconnecting now causes a print to the log