Fixed header row in cell export files.
Address some of acuster's review comments.