Added a 'create output file' option.
Proper 'main' routine added.
Corrected date-building methods.
Changed default year to 0 so sanity could be done.
Added year override.
Put the initial number stuff in the right place.
Got rid of stupid debugging messages... I'm le tired.
Ate my own dog food, and it tasted nice.