Add nTotal to client
Simple cleanup
Refactor client
Simple refactor
Remove TODO on ending workers
Remove unused stuff from register_static.go