lint
Removed trailing spaces
Handling resignation and draw offers.