Bug 928630 - Wait for the initial window's delayed startup to be finished before restoring a session; r=smacleod