While doing so, get rid of the now unnecessary function control_signal_act(). Fixes bug 2917, reported by Robert Ransom. Bugfix on commit 9b4aa8d2ab. This patch is loosely based on a patch by Robert (Changelog entry).
9b4aa8d2ab