fixing bugs (uninitialised variable in RGB(), posterised bitmaps weren't writing to left and top lines)