Cleanup in sender application.
Minor fixes to common dialogs.