*laughs* sorry, I am getting my threads mixed up. I put an alpha version of the code out attached to this post. The relevant code is in empire.c in the main() function.
_________________________
Mark Cushman