indentation and minor fixes in wikiIterator