implement "Signed" checkbox.

Also fix Window layout for different widgetsets and some cleanup.