Turn debugging off by default. Add initialisation messages
to indicate when debugging is enabled.