Fix some crash bugs.
Increment revision.