Replaced local $func_name

Local $func_name performs same function as bash variable $FUNCNAME.
Replaced assignment and references in “Inside” debug statements.
Possible issue: does this work in Cygwin? (Don’t care just now - can
use another workaround)