Removed debug statement

Removed (commented) a simple debugging statement.
Fixes for self-transformation

Code didn't take into account that transforming agent might be
self; fixed. In short, no confirmation required and text changes.
Simplified convoluted if stmt

For simpler easier to understand and debug code, an if statement
was separated out and another "return" quashed.