QPythonCodeEdit: make use of the addToPath parameter and fix windowTitle