Looks like it is behaving better, still some odd output.