Refactored _dumpState to _uiHash.  Resolves #98