Changed redstone circuit behaviour to mimic vanilla redstone things better (the "door problem" is still present).