Merge pull request #5 from roblibob/master

Ignore lines starting with a pound character.
fix empty lines crash