adjusted result message in dialog, other minor changes