Introduce checks to prevent runtime warning
CSS: Fixed grid size for missing thumbnails
Remove some white space on line endings
My development configuration

Commit it, so I don't accidentally overwrite it again.

No, I don't use that password anywhere else, suckers!
Update DB class documentation
Don't show deleted images
lib/db.php: Facilitate other fetch modes
Migrate login to new DB scheme and passwords

 - Delete lots of obsolete methods.
 - Refactor large spaghetti methods into multiple smaller ones.