correct confusing title for open-file, better error message. re-insert document type and icon for appbundle. fix some broken non-utf characters.