Correct client errors, improve init and remove ping tracker