rewrote the service thread and debugged under UNIX
Authored by: ruckert 2008-07-23
Parent: [r127]
Child: [r129]