added analysis history feature, implemented from persistence to GUI.
closes #40