public void taskSoonMain(final Runnable r,boolean async){
  if (async) {
    async(r);
  }
 else {
    task(r);
  }
}

public void taskSoonMain ( final Runnable r , boolean async ) { if ( async ) { async ( r ) ; } else { task ( r ) ; } }
run a task on the main thread at the next tick or now async
