some minor code sync
updated check slave start/stop
Some sanitizing of backup files