Added wait support to the UI
Pool no longer exits when done and stop kills wd.

Also added comments and h for help.