use variable to get around php warning
only show Aff Pro metabox if active
fixes for affiliate defaults
fixes for referral defaults
Revert "only show Aff Pro metabox if active"

This reverts commit 5b557c58e5365c77beb912496abc0bce1675a28c.
Merge pull request #138 from bradvin/migration-fixes

Migration fixes