Export to TITLE.html instead of TITLE/index.html.
Trim backslash from token candidates.
Activate multiline mode in some regexps.