Remove Thumbs.db

Stupid Windows Explorer
Actually check the vars before adding to database.

Make sure values exist. Also make board all lowercase.