It looks, like in line 17, you are making the button refer to terminal 4, which means you are trying to make this program multiplayer?