                 case let c as DisconnectPeer:
                     if (c.peer.displayName == peer.displayName) {
                         self.unbecome()
+                        self.this ! StartScanning()
                     }
                     break
                 

        print("idle")
        switch(msg) {
            case let w as StartScanningWithLobbyViewController:
                self.session = MCSession(peer: self.peerID)
                self.session.delegate = self
                self.become(self.scanning(w.lobby))
                break
            default:
                self.receive(msg)

    }
    
    func camera(peer : MCPeerID) -> Receive {
        return {[unowned self] (msg : Message) in
            print("camera")
            switch(msg) {
                case let s as SendFrame:
                    do {
