Added functionality to the 'cancelled' flag.
Merge pull request #19 from robertbrockie/misc

Added functionality to the 'cancelled' flag.