Make 'Paste' menu item in file chooser enable/disable when appropriate.  Also minor cleanup