Cleaned up the new event filter UI code.