Added the disconnect menu option
Made the threads easy to terminate
Made the program able to disconnect and connect to a new IP