Added resending of all commands after a reboot to sync states.