Remember current line and open tab when saving state. Restore after reload.