Fix SMP tick handling. Close #344.
Fix Pipe connections. Close #345.