Adding lines and new rotation window to rotate lines.