Fixing bug with removing leaf node destroying whole network.
Fixing issue with consumer being destroyed causing NullPointerException.
If lamp has a signal, it replaces itself with a different block.