Added renderthread