Code became much more useful once hooks made it follow my workflow instead of starting from scratch every session.
If you have any confusion about the code or want to report a bug, please open an issue instead of emailing me directly, and unfortunately I do not have exercise answers for the book.