better use provider dict straight away
make the image_list global
move image selection to gui lib
use local dict
use global var
reshuffle some variables, dicts and other things