Fixes some errors that occured when using msgfmt to build the Gettext .p...

Fixes some errors that occured when using msgfmt to build the Gettext .po files.

Added a bunch of headers that were missing.