Make global analysis optional
Merge pull request #85 from lqi/optional-global-analysis

Make global analysis optional