add stripping of blank lines. Closes #14