[pyqgis-console] remove unnecessary code and fix tabs tooltip