commit 3e292b8493720bbf143c95a4b88fc1ed78d1bb8d
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Wed Mar 20 12:40:52 2019 +0000

    Fix several more apps for the 'center-of-matrix-effects-in-screen-center' change.

diff --git a/src/main/java/org/distorted/library/main/DistortedMaster.java b/src/main/java/org/distorted/library/main/DistortedMaster.java
index aaa0c96..7e0af0d 100644
--- a/src/main/java/org/distorted/library/main/DistortedMaster.java
+++ b/src/main/java/org/distorted/library/main/DistortedMaster.java
@@ -53,10 +53,17 @@ public class DistortedMaster
     Slave slave;
     int num = mSlaves.size();
 
-    for(int i=0; i<num; i++)
+    try
       {
-      slave = mSlaves.remove(0);
-      slave.doWork();
+      for(int i=0; i<num; i++)
+        {
+        slave = mSlaves.remove(0);
+        slave.doWork();
+        }
+      }
+    catch(IndexOutOfBoundsException ie)
+      {
+      // must have been cleared in the meantime, ignore
       }
 
     return ( num>0 );
@@ -70,16 +77,23 @@ public class DistortedMaster
     boolean found = false;
     Slave tmp;
 
-    for(int i=0; i<num; i++)
+    try
       {
-      tmp = mSlaves.get(i);
-
-      if( tmp==s )
+      for(int i=0; i<num; i++)
         {
-        found = true;
-        break;
+        tmp = mSlaves.get(i);
+
+        if( tmp==s )
+          {
+          found = true;
+          break;
+          }
         }
       }
+    catch(IndexOutOfBoundsException ie)
+      {
+      // must have been cleared in the meantime, ignore
+      }
 
     if( !found ) mSlaves.add(s);
     }
diff --git a/src/main/java/org/distorted/library/main/DistortedTexture.java b/src/main/java/org/distorted/library/main/DistortedTexture.java
index 7d1b4d8..253be97 100644
--- a/src/main/java/org/distorted/library/main/DistortedTexture.java
+++ b/src/main/java/org/distorted/library/main/DistortedTexture.java
@@ -168,7 +168,7 @@ public class DistortedTexture extends DistortedSurface
  *
  * @param argb The color to paint the Texture with.
  */
-  public void setColor(int argb)
+  public void setColorARGB(int argb)
     {
     Paint paint = new Paint();
     paint.setColor(argb);
