dont throw an HTTP error when uploading an unknown file type
fix uninisialied error on favicon shortcut
ensure one use at a time for the DB.
update tests (non memeory yet) for recent changes.