De-camelcase CSS
Predeclare media_dir
Clean up db.py
Remove unused Redis "items" set