1. Checkbox setvalue is better. 2. Other minor fixes