Sync with PAL upstream: prologue improvements