some fixes towards reenabling item spawning, incl inventory stuff