Added the new docfred files to code/Makefile.am.
Also added the OnExit() override in wxFRED2.
Declared pointers for mission and doc objects.