ignore vim swap files
clean up platform checking
simplify image sizing logic
interpolate dem strings
Merge pull request #1 from Intermark/review

Looks good overall, only made a couple small changes to make it more Rubyish.