Added excluded options so that only options of interest are communicated.
Minor code and comments cleanup.
Custom error exceptions