addding splash screen and modifying generate window