config.py and PreferenceWindow update
using loader to load preview