Bugfix: do not request another refresh if the previous hasn't been completed yet.
Bugfix: check for history refresh required after each history data merge.
Merge pull request #422 from jbobnar/master

Bugfix: Automatic history refresh: fixes #75