scan server: correctly loading Larch modules, more tweaks