window: Make the main win[] mapping available to nested windows as mainwin[]