remember/set z-index, formatting retab