Cleaning up event handling and statuses