Issue #154: disabled inputs and layout improvements

All input fields are disabled by default and become enabled when the
corresponding checkbox is checked. Additional layout changes so that
everything looks good.