Remembers which editor tab was last open

@stephensanchez , @wedaly 
I cannot believe that JS uses string notation for undefined.  That is remarkably counterintuitive! Good catch though!