Mark as 0.5.5.
Fix several potential problems found by static analysis.