logging

Log lots

Use lots, and lots, and lots of logging. There are few things more painful than having something break, and not being able to find out why. This is a major difference between Linux and Windows, and in general, the programs written for each.