Fix early return from window init

 * There was another issue introduced by 9b3a02
   if the allocation of the first tab fails, then
   the init function returns early and we need to
   shutdown tilda.