DrawPic(fromOffset,ACTUALLY_DRAW)
SeekTo(offset)	// seek to an offset in the picture
Seek(backwards/forwards)
DeleteCode() // delete the following picture command
CropCode() // delete all the code after the current offset
AddCode() // insert a byte of code into the picture

Pic properties
==============
bitmaps[4]
data[rsMAX_SIZE]
offset
length
palettes[4][40]
curPal
cols[3]
drawenable
patCode,patNum
--
mode (viewing/editing)


for seeking--do a very simple scan through with no drawing or modding whatsoever to find the offset of the last command, or the next command. Then, with that offset, DrawPic from the beginning to the offset.

