Splash screen and some bug fixes