further addresses issue #38
nested folds where being unfolded when programmatically restoring line folds. Now calls to fold a region is forced when folding is explicitly required.