Convert element name to be stored as atom instead of string.
Fix comments and variable names for atom wrapper.
Merge pull request #2844 from glennw/atom-element

Convert element name to be stored as atom instead of string.