Ignore RLE data that goes past the line end (found by Uwe Bonnes).
General cleanup of the RLE routines.

1 file changed