strip down multiselect, minor perf fixes

Multiselect isn’t exactly nicely written or very performant,
this patch tailors it more to our usage and removed most unused
features. Some basic performance fixes are applied as well.

This makes the situation only slightly more bearable and pushes
the inevitable – a proper solution – back a bit further.