Fixed typos.
Log grammars after every X iteration.
Use Viterbi reorderer by default.