New completely rewritten monitoring client, which, for a change, works.