Form improvements.
Add visibility option to form.