various tweaks

add more mime types, clean up whitespace, change tabs to spaces, missing semicolon, etc