Fixed an issue which prevented proper handling of Windows style line endings.
Fixed an issue which caused white space to be stripped from #spatom blocks.