[pyqgis-console] fixes #7653 and #7646
- more minor fixes