improved robotc task glue code

Signed-off-by: James Pearman <jbpearman@mac.com>