move chirp call in runremoteprogram into thread.
fix local program execution (lockup)
added result=array to chirp