fix warnings
fix checkboxes and radiobuttons under windows