Added a cancelling function that can be used after some time has passed.
pep8, cleanup, readd constants and remove stops in cll