some tweaks for installer (installation of optional modules)
a whole bunch of additions and fixes, use 'diff' for details