Some optimalisations

* Use `glyphicon-header` instead of `glyphicon-font`
* Don't prepend newlines if the heading is on the first line
* Only append newline to heading if a text was selected
* Don't insert a link if prompt returns empty or default