Refactored xbox plugin so that it lazy initializes the global