Header consolidation - main.h, misc.h, and share.h merge to advent.h.