Added size-checking for async, moved text proc out of async thread