editor: simplify duplicateNode()
editor: turn function into member
editor: use auto_ptr in Node
editor: turn bspMayConnect() into member