fixed erroneous logging in Plug.connect; almost finished refactoring settings.py; TODO: setting parent tree nodes correctly on init