Image editor save will use last save path, save as will use last save directory, handling memory leaks