mf-register.php keeps tossing errors into debug.log

Cleans up some white space in mf-register.php
Throws error if quantity is not set for core post-types - check if exists before testing.