Fix #240, don't open a new viewing tab when one is already available.  Fix #238, open new viewer tabs in the background.