"did-finish-load" should only emit for main frame, fixes #385.