If you change the samplemap, the sampler will also change its channel amount which will overwrite custom routings you‘ve made before. In order to prevent this, I‘ve added a scripting function called Sampler.setStaticRoutingMatrix() or something like that.
If you can somehow reproduce the empty monolith, let me know, I am currently going through the sampler module and clean up all those annoying little things that have creeped in over the course of time.