Fixed problem parsing 'empty' lines that have whitespace characters in them.