Added lines checkbox to enable/disable lines.