The param wrapper_element_id now accepts only ids. Removed some test code.
Added "[]" to the name of the hidden fields, so they can store an "array" of filenames.