Tweaked core drawing and core peeking code. Reset first cell to be 0 not 1