trying to get textarea to update whilst process running