Fixed most warnings in client