VIP coding standards and bug fixes

Changed all indentation and spacing to match VIP coding standards.

Removed extract function.

Fixed embed dialog not closing in WP < 3.9

Fixed issue when only 1 item is returned from MPX when GUID is disabled