reorganize code around anr info
add native stack support