ElectronPhotonSelectorTools: Fix cppcheck warnings. Shifts of signed values. Redundant string conversions.