a style fix - no use of having a static variable in a static class - it can be private. it also helps with some concurrency issues.
Merge pull request #40 from yosit/master

a style fix - no use of having a static variable in a static class
Merge branch 'master' into nserror