Made app history safe.
Merge pull request #25 from tmoc/tom

Made app history safe.