fixes in edit_layout

still need to complete options.inc.php for all pertinent datatypes