continue with stack parsing if there is a stack returned. also fix thread state parsing when a non-array is returned.