Merge pull request #523 from r2evans/fix/522_specline

fix #522, spec_line glitches and improvements