Corrected slaveMode single vs master unit detection from debug