added some debugging printlns
Successfully copies gray image
testing branching