slight changes to debugging app helper to see if this helps hanging