MIME registration (+typo fix)

Addresses https://github.com/sysapps/runtime/issues/68