fixed shutdown_all a bit
updated mix for debug