Minor bug fixes in elements_controller, also options in the dialog menus - name/label appear first, grid sizes appear before grid values.