Minor style tweaks to eliminate warnings. Bump version to 0.9.1.

Eliminate a comma after the last flag enum definition (even though it
is allowed) and put variable definition at the head of function.
Either of these could lead to a warning under some compiler configurations.