Added getMaxArgs() to runnables
Remove the num_args variable because it is redundant.  rewrote getNumArgs to compute the number of args