added icon
implement initialization process in App.OnInit
implemented App.OnExit and OnUnhandledException