Added a delete event which is used to signal main app to get ride of the
proper node. Not finished.