Ignore one-line regions and don't throw when can't find node

This also includes some temporary debugging code.
Remove debug print statements