cosmetic changes to TaskRuntime and ContextRuntime - before separating
Thread and Runnable in TaskRuntime