worked more on the frontend of unit downloading, now switching to materials page after having downloaded a unit. added a loading dialog