set window icon and caption