Fixed finalization.
Renamed parser->linebuf -> parser->curline.
Removed redundant process_inlines.
Minor rename of timer.
Use process_line for parse_document; remove incorporate_line.