fix unicode in chain and path parts + debug console
more unicode fixes