clean up the docstrings/comments a bit
switch over test/build nextSlave functions to new slavefunc