cleanup, fixed typo in glade file, commented most X-call out of xboard.c