Fixed bug when loading images
Fixed bug when reloading database
Updated internal db