REshuffled header files again, text state is now part of graphics state, and content stream fix

REshuffled header files again, text state is now part of graphics state, and content stream fix. page contents now read one stream at a time, and parse, and create the next stream, and parse, and so on. Instead of creating all streams at once, and link together, which cause file position gripes, this fix create and free content stream on the fly.