Added support for PropertyChanging event
Added debug output