Added an initial version of mode control that hides/shows lines when lines mode is selected.