Streamline determination for line breaking nodes
Fix minor bugs