Added wire error state
Fixed bug when trying to attach a wire to a rotated component
Sockets change colour depending on their connected wire's state