Minor dragging fix.
Moved layout specific flags up to BaseNode.
Started updating layoutNodes().