Fix deadlock during close.
Return proper frame node after splitting the root node.
Merge remote-tracking branch 'remotes/origin/master' into repl