Added Autolatern for TreshW, Added Disconnect detector