Changes to the header

There have been several stylistic and structure changes to the head so
that it is now supported on any platform.