Reintroduce check for empty column headers that was lost in refactor

Missing code was previously on lines 224-226 of engine.py
Removing whitespace after property
Merge pull request #2 from ethanwhite/refactor

Additional cleanup on refactor