Moved call to screencap from the python script to C.
Added loop to continuously play dots in infinite mode or something.