Added print(Print to both local and socket-connections) and removed debug text