Improved connection auto-creating when placed a block (still needs work), added disconnecting when machine block is broken.
Implemented cloak hook.