added tabspreview, nearly finished, added loading conditions for dim and chunks