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

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