Added a new flatten_inlines parameter. See the README for details.

- Many improvements to the parsing algorithm