BF: 'semi' mode doesn't crash out now

Fixed check for photometer and commented out old-school GammaLumValsDlg
until it can get better reformed.
BF: 'semi' mode doesn't crash out now

Fixed check for photometer and commented out old-school GammaLumValsDlg
until it can get better reformed.
Merge pull request #379 from toddrjen/visualsplit

Cleanup window.py
Merge pull request #380 from flipphillips/master

Fixed small bug re 'semi' calibration mode.
add trilateration function to misc.py