Stacktrace
```
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.desktop/javax.swing.JLayeredPane.getComponentsInLayer(JLayeredPane.java:561)
at io.unthrottled.amii.memes.MemeService.dismissAllMemesInPane(MemeService.kt:122)
at io.unthrottled.amii.memes.MemeService.access$dismissAllMemesInPane(MemeService.kt:21)
at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:84)
at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:21)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at io.unthrottled.amii.memes.MemeService.attemptToDisplayMeme(MemeService.kt:84)
at io.unthrottled.amii.memes.MemeService.access$attemptToDisplayMeme(MemeService.kt:21)
at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:60)
at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:21)
at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt:36)
at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at io.unthrottled.amii.tools.ToolBoxKt.doOrElse(ToolBox.kt:34)
at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:59)
at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:21)
at io.unthrottled.amii.services.ExecutionService$sam$java_lang_Runnable$0.run(ExecutionService.kt)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
```
Problem
Stacktrace
``` java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.desktop/javax.swing.JLayeredPane.getComponentsInLayer(JLayeredPane.java:561) at io.unthrottled.amii.memes.MemeService.dismissAllMemesInPane(MemeService.kt:122) at io.unthrottled.amii.memes.MemeService.access$dismissAllMemesInPane(MemeService.kt:21) at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:84) at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:21) at java.base/java.util.Optional.ifPresent(Optional.java:183) at io.unthrottled.amii.memes.MemeService.attemptToDisplayMeme(MemeService.kt:84) at io.unthrottled.amii.memes.MemeService.access$attemptToDisplayMeme(MemeService.kt:21) at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:60) at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:21) at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt:36) at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt) at java.base/java.util.Optional.ifPresent(Optional.java:183) at io.unthrottled.amii.tools.ToolBoxKt.doOrElse(ToolBox.kt:34) at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:59) at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:21) at io.unthrottled.amii.services.ExecutionService$sam$java_lang_Runnable$0.run(ExecutionService.kt) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:829) ```Extra Info