Updated selfhost (works in debugger - outside there is an issue with logging....Damian?)