sped up mapgen functions massively.  I think it's suitable
for general use now!