Added exception handling mono setting profileroot
Merge pull request #679 from jchannon/trycatchprofileoptimization

Added exception handling mono setting profileroot
Fixing compilation constant for Mono
Merge pull request #680 from glennblock/MonoFix

Fixing compilation constant for Mono