Add mate and gnome2
Move to gsettings for Mate and fix long-standing open-file leak.