corrected load-gui and improved images loading