Sorting out whitespace and fixing bugs in example code
Adding a note about the cancel callback