initial customsettings support (for test only), minor fixes