Check for freelist overflow.
Fix freelist rollback.
Merge pull request #193 from benbjohnson/check-freelist-overflow

Check for freelist overflow