+ handle tabs set by variable better
Includes changes to historylog, since it did some deferred loading & sizing magic based on tab