radiobutton almost useable

Several fixes about client crashing. Added a test suite in
multi_windows.c.