Added handling for activity monitor events.
Added fireUpdate() method to trigger an update event to the GUI; placing the code in a method simplifies main body of program code.
Added activity monitor listener.