Added new ball check from regionprops. Implemented the pause, which is still buggy. Need to tweak values.