Sounds like you have had a big mess in there. It needs to be flushed till all the gunk is gone. I might consider filling it to the brim with diesel, let set a little while, then drain out. Continuing to replace transmission/hydraulic fluid is going to be expensive. I am thinking your drop box on the 4 wheel drive should have a drain plug and possibly one on the axle housing, maybe not, but might take a close look.