Escape [] in chat timestamps and tab names.
Fix issues with [book]...[/book] tag.
Fix typo.