optimize the local node
fixes to the nodes, don't block if notification has already been processed
various small fixes