Assetbrowser renovation

Fixes crashes described in #4125 and #3980 as well as adds some missing features from #2532 that I still owe to @xanax plus I need the palette switch for the Tiberian Sun mod which uses many more different palettes than the other mods and XCC Mixer completely fails for me there.