Matcha:connect
Corrected some issues with MatchaThread.