Optimise combining modules

UI is not laggy anymore! Processing times
are down from dozens of milliseconds to just
a few.