make gui partially working
small modification, image vizualization doesnt work