Fixes some runtimes from the infrared sensors.

Fixes some runtimes from the infrared sensors, removed a lot of useless spawn()