Set title var earlier so that page title is not all lowercase

Maybe not the right way to do this, but the title on pages is always all lowercase. Hacked my instance to set the title variable before `args.filename.downcase` lowercases the title.