Overloaded comparison operators. Fixed BOOL macro.
Updated CoordinateMapper to use ComSmartPtr.