Fix issue with alerts when playing online

Make sure that the side receiving the move also sees the alert when one
side is put into check or checkmate or there is a stalemate.
Fix bug related to checking for check from knights