Store Commit Collapsed State

This commit stores the collapse/expand state of each commit in the commits tree, so not all commits are expanded when refreshing or restarting. Very useful when working with numerous commits.