Housekeeping

- removed several warnings
- updated to FMDB 2 (so 2.2 works)