Initial import from portage tree with modifications.
mate-base/mate-panel: fix some untested stuff.