Remove Event

Your node and all its custom widgets have a remove_event() which is being called when a node gets removed from the flow. This is only important for objects that autonomously run independent computations like threads or timers. These should all get stopped in this method. Take a look at the clock node in the std package as an example.