Complete separation of RLE decode from PCX palette lookup.  Also fix a buffer size calculation bug which I've seen before but convinced myself was correct. :/