Writes symbol images for identifying out to files, removed pickling, made code a little more readable.