updated comments 
(merge c++ revision aabaca41bca3 dated March 8, 2011)
updated inScanArea 
(merge c++ revisions 4f9c0ace716b and 44e02186c185 dated February 4, 2012)