I've got only a solution for the spam in Terminal (found here https://stackoverflow.com/questions/35911252/disable-tensorflow-debugging-information ):
Those messages are infos sent by Tensorflow; I got rid of them by setting the Tensorflow log level to 1 in my environment variables:
TF_CPP_MIN_LOG_LEVEL=1
0 = all messages are logged (default behavior)
1 = INFO messages are not printed
2 = INFO and WARNING messages are not printed
3 = INFO, WARNING, and ERROR messages are not printed