SQLite, Smaller images

- better sqlite (close, ...)
- load smaller images against memory problems