Cleanup
Added an algo to quickly parse the folding indicator for the entire document (commented out as it still takes too much time on large files)