Fixed race condition in set_drawing_outputs()
Removed outdated control.c file