Implement #9.

* Handle the message boxes: currently send them SC_CLOSE; likely to be
extended to handle variations.
* Config file format changed: now with global and process monitors.