SDKEditor: fix some bugs, add checkbox support