Fixed updating of a connection switch from GUI
Allowed self-connection to itself to have a random noise (by default in the 0-0.05 uniform random range) and the connection to be reset when reinitializing units. Fixes #50