private void CreateBannerUI()
        {
            // create UI using ColossalFramework UI classes
            UIView uiv = UIView.GetAView();

            if (uiv == null)
            {
                return;
            }

            //UISprite chirpSprite = (ChirpBannerSprite)uiv.AddUIComponent (typeof(ChirpBannerSprite));

            //UIComponent parent = UIView.Find("ChirpBannerSprite");
            theBannerPanel = (BannerPanel)uiv.AddUIComponent(typeof(BannerPanel));

            if (theBannerPanel != null)
            {
                //theBannerPanel.ScrollSpeed = CurrentConfig.ScrollSpeed;
                //byte bAlpha = (byte)(ushort)(255f * CurrentConfig.BackgroundAlpha);

                //theBannerPanel.BackgroundColor = new Color32(0, 0, 0, bAlpha);
                //theBannerPanel.FontSize = CurrentConfig.TextSize;
                theBannerPanel.SendToBack();

                // Tests for overlapping:
                //theBannerPanel.CreateBannerLabel("This is a really long chirp! really chirpy chirpy!", 481516);
                //theBannerPanel.CreateBannerLabel("OMG", 123456);
                //theBannerPanel.CreateBannerLabel("OMG1222222222222233333333", 1234567);
                //theBannerPanel.CreateBannerLabel("OMG22222222222 222222  4434", 12345678);
            }
        }
        public void OnCreated(IChirper chirper)
        {
            // read config file for settings
            //MyConfig.LoadConfig ();

            BuiltinChirper = chirper;

            if (MyConfig.ConfigHolder.Config.DestroyBuiltinChirper)
            {
                chirper.ShowBuiltinChirper(false);
            }

            CreateBannerUI();
            theBannerPanel.SendToBack();
        }