Added a checkbox widget.
gui: added layer properties.