Major cleanup of unsued stuff and a few changes.

I removed lot's of old packages, most of them were disabled and had not
been used for years. Added/changed some things as well while I was
threading through.