had to re-validate that the king could move. was getting incorrect result for checkmate otherwise. PNG stuff working mostly.