Played around with grid bag layout for texture export. It looks really ugly, but I now understand how it works.