mmap: Clear errors when required appwin: Use hex-document async functions so we get access to GError.