fixed crashing, included better

better randomization. working on safer deletion…eventually use temp
directory.
need tp update image saving system