Update main run loop call

The more "pythonic" way to call the main function is to use the "if __name__ == 'main'" feature.  This allows for executable scripts to also be used as modules
Typo...
Merge pull request #1 from djnrrd/master

pythonic ways...