Simplify an if statement.
Switch from E4X (no longer exists) to new XML Web API.
Fix compile on OSX 10.8 Mavericks.
Better interface type error reporting & code readability.