Commit 01b9c6dfbfd356a2d26cea32e8880938ce14b751

Con Kolivas 2012-12-09T08:22:13

Make main() the getwork scheduler once everything is set up, so that all app exits use the kill_work and quit paths.