Modified whitespace and added extra doc's to the listener class.