added player documentation
added createExtensionEnvironment() method to GlobalMenu for refactoring the manner in which context is passed to extensions