Use H1 or YAML property "title" instead of or in addition to filename as display name

I made a plugin that copies the first line to note title: