Madcap by Gibbs, George
 is a Project Gutenberg book, now on Github.