Update use of $metabox_id var

Updated use of $metabox_id as it was throwing an undefined var notice with debug set to true. Really nice work on this revamp!