Refactored state entry and exit methods.  Added logging
Merge branch 'master' of github.com:thutch/limitsMonitor