Fixed bugs and added code for reading in GIF. Starting on object code.