Fixes to ldetect and R3 station changing