Ross C:
It don't get local because you don't make it local.
if you want it local you must type:
function loadinterfaceImage(filename$)
Local theInterfaceGlobals = new interfaceGlobals ;<--Local
theInterfaceGlobals\interfaceImage = loadimage(filename$)
end function