Global refactored into Globals module. Static everything - feels very wrong, especially those objects. But I shall test it further