Change how 'dlg' is used to create normalized stings.

If options['dlg'] is an empty string, create a blank line in the normalized string for 'dlg' instead of leaving it out entirely.
Merge pull request #16 from seagreen/key-checking

Change how 'dlg' is used to create normalized stings.