Add an chapter on callbacks and error backs
fix indentation and whitespace