added missing method for pyramid-elements to edge-ratio metric
fixed handling of filename for writing condition-files in gui