Removing lots of messages being sent to stderr, tidying up + fixing a bug that occurred when reusing sessions.@