Fix: problem preventing from creating gates if there are two possible gates starting from the clicked block: now the clicked face dictates the direction of the gate
Fix: error in gate registration
Fix: store and retrieve portals by block by matching world, not just coordinates
Fix: gracefully handle the situation where two gate frames share blocks