fixed splash screen and moved test render code