more fixes!

Runtime fixes
Fixes #4756
Fixes #4697
Fixes #5088
fixes the slime surgery runtime