simple_gui fixed and functional, added calc_foci_in_dirlist to pic_an_dir.py for convinience