saving before trying out multiprocessing
finally got a queue to work.
used pipe instead of queue in 'multiprocessing', cleaned up a little.