+ use strict
+ adding missing "main" section
Merge pull request #5 from inexplicable/master

bugfixes and enhancements