Make theme_metabox method static
Fix altField for inline and make some methods static