fixed some problems with open count. raised a few questions in the process
changed variable name so less confusing
Merge pull request #3 from moneytree/swf

Swf