Open detached window with correct content, fixes #311
Do not rely on built-in action to copy link, fixes #312
Merge remote-tracking branch 'upstream/master'