pothos-gui: cleanup and affinity select menu widget