Removed unnecessary setup call to the iframe. Added an edit button. Fixed bug with show/hide of queries.