remember if window is open
Merge branch 'develop'
Merge remote-tracking branch 'upstream/master' into gh-pages