Bugfix: Honor preferences when opening links via doubleclick or spacebar...

When this fix is applied, the default target for opened links (internal
or external browser) is taken from the preferences.

Fixes #1056, #1089, #1098