Counting: refactored handling of resizehandles
Counting: switch from @mainthreadonly to @pyqtSlot mechanism everywhere