Indents, cleanups, tweaks
hooks, tweaks
add pdf mime type