Commenting fix
Added temporary functionallity for an emergency stop
Crasch fix: Causing the OS to lock but to rescheduling properly.