Add support for scripts to return an animation flag.  This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
diff --git a/rsThreadIO.cpp b/rsThreadIO.cpp
index d5ac70b..23c808a 100644
--- a/rsThreadIO.cpp
+++ b/rsThreadIO.cpp
@@ -34,12 +34,14 @@
 {
 }
 
-void ThreadIO::playCoreCommands(Context *con)
+bool ThreadIO::playCoreCommands(Context *con)
 {
     //LOGE("playCoreCommands 1");
     uint32_t cmdID = 0;
     uint32_t cmdSize = 0;
+    bool ret = false;
     while(!mToCore.isEmpty()) {
+        ret = true;
         //LOGE("playCoreCommands 2");
         const void * data = mToCore.get(&cmdID, &cmdSize);
         //LOGE("playCoreCommands 3 %i %i", cmdID, cmdSize);
@@ -50,6 +52,7 @@
         mToCore.next();
         //LOGE("playCoreCommands 5");
     }
+    return ret;
 }