The duplicate phrase issue is a known issue that can only happen if you accidentally double-click the Next Step or Next batch button to start the phrase step. It creates a race condition where the first click creates the phrase and then the second click tries to create the same phrase. There is no way to avoid an error in that case. But if you refresh the installer after the error, it should detect that the phrase was made already and skip it.
These were all duplicate error reports, which were fixed in the installer in 4.0.5. Closing this as a duplicate.