Events displayed on UI with refresh button implemented.
Cleaned up the code and got rid of debug logging of messages.