Changed how wp checks if a field is 'managed' so we can avoid 'undefined index' errors
replaced deprecated _c() function with new _x() and added context
Updated deprecated function get_usermeta to get_user_meta
Better check on managed state to avoid undefined index notice