added image saver
todo: check order of *.jpg in filedialog