Current pointer > last non-zero

Add code to check that the current pointer is shown and highlighted,
even if it's after the last non-zero memory slot.