added termlib
improvement for settingsManager loading