A lot of trouble has been put into making tools such as Dwarf Therapist in the Lazy Newb Pack. They're basically made by snooping the memory of the DF process (unless I'm mistaken here). If DF source code was available (even if it would be immutable), a tremendous amount of effort could have been into better use than practically reverse engineering parts of the core game.
In my opinion, Dwarf Fortress could be much better if the source code was open or at least available.