Made connections close when one computer breaks + bugfixes.