Add parameters to show, and fix close