Changed the way the global FullscreenManager object is set and added more functionality to the FullscreenManager plugin