debug fix

We had to update the way the splash screen was closed so that SOM4 would function in debug mode