Singletab

stay in the same browser tab when switching html docs in editor.
It's done this way so we can send the command to the page before the connection is closed.  
Half a second is kind of arbitrary, seems to be working on browsers and devices on the network.