Calling a function that returns array stops printArray

it is a simple print before a function returns a value:
“functionname_variablename: variablevalue”

all can switch of by the top definition change to:

boolean dbug = false; 

as you nest so many functions it might help