many fixes

fixes missing FuncStruct initialization in load_modules

fixes some memory errors and startup with broken config

(0) -100 -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial