added preliminary resolution for 'this' visible in object member methods; minor code cleanup