Handled disconnects and some interface stuff