util/which-version? now checks for :editor? whether to give back the
unpublished version instead of the published one
events bind correctly to main window after a reload