Hot-swapping inventory works now.
Fixed bug with black flashes during script playback.