More flexible debugging options

Add --debug=<debug level>
Send 404 code when requested assets don't exist