Merge global/local states to make the AgeSDLHook
TEMP: globalsdl command