Fixed threading issues and version updated