improved ShowModalIfChanged, and syncsocketserver format updates