Tweaked getBookID() so that it returns the 'book' URL parameter for embedded pages like its supposed to rather than asuming a specific parent page structure, thus providing greater flexibility