Fixed some of the isolate termination and multiplexer bugs.