added splashscreen and centered windows