added threading to python version, added lots of Processing tests