title: Run Callback On Main Thread
body: <p>I have some code that interacts with the Android Facebook SDK, Asynchronously. Unfortunately this means when it returns it is in a background thread.</p>
  
  <p>Cocos-2dx prefers me to interact with it in the Main Thread, especially when doing things like telling the Director to switch scenes (As it involves Open GL)</p>
  
  <p>Is there any way to get some code to run on the Main thread ?</p>