Tweaking, logic fixes and renamings

mScan => mPosition
mScanAll =>mScan