minor rework + reboot modes implemented