clean up forms and markdown preview

toggle previews

no preview if hidden