Make it easier to re-use this code for other gnats databases:
Get bug categories from gnats directly (remove hard coding) Create project/mailing list definitions and use them.
Make some of the perl code cleaner (my fault for bad original coding styles).