Adding ExtendedErrCode for WP8 users.

Fixing some whitespace issues.
Removing duplicate EnableLoadExtension definition.