Fix history flushing
Merge branch 'master' of github.com:nla/ambercli