BM20 modifications to prevent slowdown.

Conflicts:
	PyMca5/PyMcaGui/pymca/QSource.py
	PyMca5/PyMcaGui/pymca/QSpsDataSource.py
BM20 modifications to prevent slow down.