http-client: Fix broken handling of permanent redirects
osx: Keep navigator when closing window
Rework subtitle scheduling a bit

Fixes issue when, in external subtitles, new overlays appear
before all previous overlays have disappeared

Fixes #1723