Index: /trunk/desktop/FlipSideICS.rbvcp
===================================================================
--- /trunk/desktop/FlipSideICS.rbvcp	(revision 13)
+++ /trunk/desktop/FlipSideICS.rbvcp	(revision 22)
@@ -4,7 +4,7 @@
 Window=mainWindow;mainWindow.rbfrm;&hDF8AE23;&h0;false
 MenuBar=mainMenuBar;mainMenuBar.rbmnu;&h4170C4A5;&h0;false
-Picture=background;background.jpg;&h527E8FD9;&h0;false;0;&h0
 Class=ICSSerialPort;ICSSerialPort.rbbas;&h73165B84;&h0;false
 Window=createProfile;createProfile.rbfrm;&h565C380D;&h0;false
+Picture=background;background.jpg;&h527E8FD9;&h0;false;0;&h0
 DefaultWindow=mainWindow
 AppMenuBar=mainMenuBar
@@ -12,5 +12,5 @@
 MinorVersion=1
 SubVersion=0
-NonRelease=9
+NonRelease=13
 Release=2
 InfoVersion=
@@ -21,5 +21,5 @@
 WinProductName=
 AutoIncrementVersionInformation=True
-BuildFlags=&h4000
+BuildFlags=&h4010
 BuildLanguage=&h0
 DebugLanguage=&h0
Index: /trunk/desktop/mainWindow.rbfrm
===================================================================
--- /trunk/desktop/mainWindow.rbfrm	(revision 21)
+++ /trunk/desktop/mainWindow.rbfrm	(revision 22)
@@ -8,5 +8,5 @@
    FullScreen      =   False
    HasBackColor    =   False
-   Height          =   352
+   Height          =   370
    ImplicitInstance=   True
    LiveResize      =   True
@@ -49,5 +49,5 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   312
+      Top             =   330
       Underline       =   ""
       Visible         =   True
@@ -78,5 +78,5 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   312
+      Top             =   330
       Underline       =   ""
       Visible         =   True
@@ -107,5 +107,5 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   312
+      Top             =   330
       Underline       =   ""
       Visible         =   True
@@ -136,9 +136,9 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   32
+      Top             =   54
       Underline       =   ""
       Value           =   1
       Visible         =   True
-      Width           =   637
+      Width           =   640
       Begin StaticText StaticText_SerialPort
          AutoDeactivate  =   True
@@ -167,5 +167,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   106
+         Top             =   128
          Underline       =   ""
          Visible         =   True
@@ -197,1034 +197,8 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   106
+         Top             =   128
          Underline       =   ""
          Visible         =   True
          Width           =   176
-      End
-      Begin GroupBox GroupBox1
-         AutoDeactivate  =   True
-         Bold            =   ""
-         Caption         =   ""
-         Enabled         =   True
-         Height          =   89
-         HelpTag         =   ""
-         Index           =   -2147483648
-         InitialParent   =   "TabPanel1"
-         Italic          =   ""
-         Left            =   14
-         LockBottom      =   ""
-         LockedInPosition=   False
-         LockLeft        =   ""
-         LockRight       =   ""
-         LockTop         =   ""
-         Scope           =   0
-         TabIndex        =   0
-         TabPanelIndex   =   2
-         TextFont        =   "System"
-         TextSize        =   0
-         Top             =   94
-         Underline       =   ""
-         Visible         =   True
-         Width           =   358
-         Begin PopupMenu PopupMenu_Profile
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox1"
-            InitialValue    =   ""
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   0
-            TabPanelIndex   =   2
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   106
-            Underline       =   ""
-            Visible         =   True
-            Width           =   176
-         End
-         Begin PushButton PushButton_Create
-            AutoDeactivate  =   True
-            Bold            =   ""
-            Cancel          =   ""
-            Caption         =   "Create"
-            Default         =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox1"
-            Italic          =   ""
-            Left            =   26
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   1
-            TabPanelIndex   =   2
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   142
-            Underline       =   ""
-            Visible         =   True
-            Width           =   88
-         End
-         Begin PushButton PushButton_Delete
-            AutoDeactivate  =   True
-            Bold            =   ""
-            Cancel          =   ""
-            Caption         =   "Delete"
-            Default         =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox1"
-            Italic          =   ""
-            Left            =   126
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   2
-            TabPanelIndex   =   2
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   142
-            Underline       =   ""
-            Visible         =   False
-            Width           =   88
-         End
-         Begin StaticText StaticText_Profiles
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox1"
-            Italic          =   ""
-            Left            =   214
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   4
-            TabPanelIndex   =   2
-            Text            =   "Profiles"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   106
-            Underline       =   ""
-            Visible         =   True
-            Width           =   100
-         End
-      End
-      Begin GroupBox GroupBox2
-         AutoDeactivate  =   True
-         Bold            =   ""
-         Caption         =   ""
-         Enabled         =   True
-         Height          =   202
-         HelpTag         =   ""
-         Index           =   -2147483648
-         InitialParent   =   "TabPanel1"
-         Italic          =   ""
-         Left            =   14
-         LockBottom      =   ""
-         LockedInPosition=   False
-         LockLeft        =   ""
-         LockRight       =   ""
-         LockTop         =   ""
-         Scope           =   0
-         TabIndex        =   0
-         TabPanelIndex   =   3
-         TextFont        =   "System"
-         TextSize        =   0
-         Top             =   94
-         Underline       =   ""
-         Visible         =   True
-         Width           =   608
-         Begin Slider Slider_THGain
-            AutoDeactivate  =   True
-            Enabled         =   True
-            Height          =   16
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Left            =   322
-            LineStep        =   1
-            LiveScroll      =   ""
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Maximum         =   255
-            Minimum         =   1
-            PageStep        =   20
-            Scope           =   0
-            TabIndex        =   0
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Top             =   268
-            Value           =   0
-            Visible         =   True
-            Width           =   128
-         End
-         Begin EditField EditField_THGain
-            AcceptTabs      =   ""
-            Alignment       =   0
-            AutoDeactivate  =   True
-            BackColor       =   &hFFFFFF
-            Bold            =   ""
-            Border          =   True
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Format          =   ""
-            Height          =   22
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   462
-            LimitText       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Mask            =   "###"
-            Multiline       =   ""
-            Password        =   ""
-            ReadOnly        =   ""
-            Scope           =   0
-            ScrollbarHorizontal=   ""
-            ScrollbarVertical=   True
-            Styled          =   ""
-            TabIndex        =   1
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Text            =   ""
-            TextColor       =   &h000000
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   268
-            Underline       =   ""
-            UseFocusRing    =   True
-            Visible         =   True
-            Width           =   32
-         End
-         Begin StaticText StaticText_THGain
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   2
-            TabPanelIndex   =   3
-            Text            =   "Throttle Gain"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   268
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin Slider Slider_STGain
-            AutoDeactivate  =   True
-            Enabled         =   True
-            Height          =   16
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Left            =   322
-            LineStep        =   1
-            LiveScroll      =   ""
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Maximum         =   255
-            Minimum         =   1
-            PageStep        =   20
-            Scope           =   0
-            TabIndex        =   3
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Top             =   234
-            Value           =   0
-            Visible         =   True
-            Width           =   128
-         End
-         Begin EditField EditField_STGain
-            AcceptTabs      =   ""
-            Alignment       =   0
-            AutoDeactivate  =   True
-            BackColor       =   &hFFFFFF
-            Bold            =   ""
-            Border          =   True
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Format          =   ""
-            Height          =   22
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   462
-            LimitText       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Mask            =   "###"
-            Multiline       =   ""
-            Password        =   ""
-            ReadOnly        =   ""
-            Scope           =   0
-            ScrollbarHorizontal=   ""
-            ScrollbarVertical=   True
-            Styled          =   ""
-            TabIndex        =   4
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Text            =   ""
-            TextColor       =   &h000000
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   234
-            Underline       =   ""
-            UseFocusRing    =   True
-            Visible         =   True
-            Width           =   32
-         End
-         Begin StaticText StaticText_STGain
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   5
-            TabPanelIndex   =   3
-            Text            =   "Steering Gain"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   234
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_BackTiming
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "1\r2\r3\r4\r5\rCustom"
-            Italic          =   ""
-            Left            =   322
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   6
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   202
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_BackTiming
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   7
-            TabPanelIndex   =   3
-            Text            =   "Back Timing"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   202
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_VerticalInteria
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom"
-            Italic          =   ""
-            Left            =   322
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   8
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   171
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_VerticalIntertia
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   9
-            TabPanelIndex   =   3
-            Text            =   "Vertical Intertia"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   171
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_Nuetral
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Narrow\rMid\rWide\rCustom"
-            Italic          =   ""
-            Left            =   322
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   10
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   139
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_Nuetral
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   11
-            TabPanelIndex   =   3
-            Text            =   "Nuetral"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   139
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_DFreq
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "High\rMedium\rLow\rCustom"
-            Italic          =   ""
-            Left            =   322
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   12
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   107
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_DFreq
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   506
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   13
-            TabPanelIndex   =   3
-            Text            =   "Drive Frequency"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   106
-            Underline       =   ""
-            Visible         =   True
-            Width           =   106
-         End
-         Begin PopupMenu PopupMenu_Dump
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Over\rSmooth\rCustom"
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   14
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   262
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_Dump
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   15
-            TabPanelIndex   =   3
-            Text            =   "Dump"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   262
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_DBand
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Narrow\rMid\rWide\rCustom"
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   16
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   230
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_DBand
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   17
-            TabPanelIndex   =   3
-            Text            =   "Drive Band"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   230
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin Slider Slider_Punch
-            AutoDeactivate  =   True
-            Enabled         =   True
-            Height          =   16
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Left            =   26
-            LineStep        =   1
-            LiveScroll      =   ""
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Maximum         =   10
-            Minimum         =   1
-            PageStep        =   20
-            Scope           =   0
-            TabIndex        =   18
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Top             =   202
-            Value           =   0
-            Visible         =   True
-            Width           =   128
-         End
-         Begin EditField EditField_Punch
-            AcceptTabs      =   ""
-            Alignment       =   0
-            AutoDeactivate  =   True
-            BackColor       =   &hFFFFFF
-            Bold            =   ""
-            Border          =   True
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Format          =   ""
-            Height          =   22
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   166
-            LimitText       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Mask            =   "###"
-            Multiline       =   ""
-            Password        =   ""
-            ReadOnly        =   ""
-            Scope           =   0
-            ScrollbarHorizontal=   ""
-            ScrollbarVertical=   True
-            Styled          =   ""
-            TabIndex        =   19
-            TabPanelIndex   =   3
-            TabStop         =   True
-            Text            =   ""
-            TextColor       =   &h000000
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   202
-            Underline       =   ""
-            UseFocusRing    =   True
-            Visible         =   True
-            Width           =   32
-         End
-         Begin StaticText StaticText_Punch
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   20
-            TabPanelIndex   =   3
-            Text            =   "Punch"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   202
-            Underline       =   ""
-            Visible         =   True
-            Width           =   128
-         End
-         Begin PopupMenu PopupMenu_Speed
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom"
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   21
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   170
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_Speed
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   22
-            TabPanelIndex   =   3
-            Text            =   "Speed"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   170
-            Underline       =   ""
-            Visible         =   True
-            Width           =   100
-         End
-         Begin PopupMenu PopupMenu_Gain
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "Min\rMid\rStrong\rCustom"
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   23
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   138
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
-         Begin StaticText StaticText_Gain
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   24
-            TabPanelIndex   =   3
-            Text            =   "Gain"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   139
-            Underline       =   ""
-            Visible         =   True
-            Width           =   100
-         End
-         Begin StaticText StaticText_CarType
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            Italic          =   ""
-            Left            =   210
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Multiline       =   ""
-            Scope           =   0
-            TabIndex        =   25
-            TabPanelIndex   =   3
-            Text            =   "Car Type"
-            TextAlign       =   0
-            TextColor       =   "&cB8B8B8"
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   106
-            Underline       =   ""
-            Visible         =   True
-            Width           =   100
-         End
-         Begin PopupMenu PopupMenu_CarType
-            AutoDeactivate  =   True
-            Bold            =   ""
-            DataField       =   ""
-            DataSource      =   ""
-            Enabled         =   True
-            Height          =   20
-            HelpTag         =   ""
-            Index           =   -2147483648
-            InitialParent   =   "GroupBox2"
-            InitialValue    =   "MR-03\rdNaNo\rASF"
-            Italic          =   ""
-            Left            =   26
-            ListIndex       =   0
-            LockBottom      =   ""
-            LockedInPosition=   False
-            LockLeft        =   ""
-            LockRight       =   ""
-            LockTop         =   ""
-            Scope           =   0
-            TabIndex        =   26
-            TabPanelIndex   =   3
-            TabStop         =   True
-            TextFont        =   "System"
-            TextSize        =   0
-            Top             =   106
-            Underline       =   ""
-            Visible         =   True
-            Width           =   172
-         End
       End
       Begin EditField EditField_Byte1
@@ -1266,5 +240,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   96
+         Top             =   103
          Underline       =   ""
          UseFocusRing    =   True
@@ -1310,5 +284,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   266
+         Top             =   273
          Underline       =   ""
          UseFocusRing    =   True
@@ -1354,5 +328,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   232
+         Top             =   239
          Underline       =   ""
          UseFocusRing    =   True
@@ -1398,5 +372,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   198
+         Top             =   205
          Underline       =   ""
          UseFocusRing    =   True
@@ -1442,5 +416,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   164
+         Top             =   171
          Underline       =   ""
          UseFocusRing    =   True
@@ -1486,5 +460,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   130
+         Top             =   137
          Underline       =   ""
          UseFocusRing    =   True
@@ -1530,5 +504,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   95
+         Top             =   102
          Underline       =   ""
          UseFocusRing    =   True
@@ -1574,5 +548,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   266
+         Top             =   273
          Underline       =   ""
          UseFocusRing    =   True
@@ -1618,5 +592,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   232
+         Top             =   239
          Underline       =   ""
          UseFocusRing    =   True
@@ -1662,5 +636,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   198
+         Top             =   205
          Underline       =   ""
          UseFocusRing    =   True
@@ -1706,5 +680,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   164
+         Top             =   171
          Underline       =   ""
          UseFocusRing    =   True
@@ -1750,5 +724,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   129
+         Top             =   136
          Underline       =   ""
          UseFocusRing    =   True
@@ -1794,5 +768,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   95
+         Top             =   102
          Underline       =   ""
          UseFocusRing    =   True
@@ -1838,5 +812,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   266
+         Top             =   273
          Underline       =   ""
          UseFocusRing    =   True
@@ -1882,5 +856,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   233
+         Top             =   240
          Underline       =   ""
          UseFocusRing    =   True
@@ -1926,5 +900,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   199
+         Top             =   206
          Underline       =   ""
          UseFocusRing    =   True
@@ -1970,5 +944,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   164
+         Top             =   171
          Underline       =   ""
          UseFocusRing    =   True
@@ -2014,5 +988,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   130
+         Top             =   137
          Underline       =   ""
          UseFocusRing    =   True
@@ -2046,5 +1020,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   96
+         Top             =   103
          Underline       =   ""
          Visible         =   True
@@ -2077,5 +1051,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   266
+         Top             =   273
          Underline       =   ""
          Visible         =   True
@@ -2108,5 +1082,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   232
+         Top             =   239
          Underline       =   ""
          Visible         =   True
@@ -2139,5 +1113,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   200
+         Top             =   207
          Underline       =   ""
          Visible         =   True
@@ -2170,5 +1144,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   164
+         Top             =   171
          Underline       =   ""
          Visible         =   True
@@ -2201,5 +1175,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   130
+         Top             =   137
          Underline       =   ""
          Visible         =   True
@@ -2232,5 +1206,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   97
+         Top             =   104
          Underline       =   ""
          Visible         =   True
@@ -2263,5 +1237,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   130
+         Top             =   137
          Underline       =   ""
          Visible         =   True
@@ -2294,5 +1268,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   166
+         Top             =   173
          Underline       =   ""
          Visible         =   True
@@ -2325,5 +1299,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   200
+         Top             =   207
          Underline       =   ""
          Visible         =   True
@@ -2356,5 +1330,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   233
+         Top             =   240
          Underline       =   ""
          Visible         =   True
@@ -2387,5 +1361,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   266
+         Top             =   273
          Underline       =   ""
          Visible         =   True
@@ -2418,5 +1392,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   97
+         Top             =   104
          Underline       =   ""
          Visible         =   True
@@ -2449,5 +1423,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   131
+         Top             =   138
          Underline       =   ""
          Visible         =   True
@@ -2480,5 +1454,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   165
+         Top             =   172
          Underline       =   ""
          Visible         =   True
@@ -2511,5 +1485,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   199
+         Top             =   206
          Underline       =   ""
          Visible         =   True
@@ -2542,5 +1516,5 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   233
+         Top             =   240
          Underline       =   ""
          Visible         =   True
@@ -2573,10 +1547,10 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   267
+         Top             =   274
          Underline       =   ""
          Visible         =   False
          Width           =   106
       End
-      Begin StaticText StaticText1
+      Begin StaticText StaticText_Warning
          AutoDeactivate  =   True
          Bold            =   True
@@ -2604,10 +1578,10 @@
          TextFont        =   "System"
          TextSize        =   22
-         Top             =   96
+         Top             =   103
          Underline       =   True
          Visible         =   True
          Width           =   142
       End
-      Begin StaticText StaticText2
+      Begin StaticText StaticText_WarningMessage
          AutoDeactivate  =   True
          Bold            =   ""
@@ -2635,8 +1609,982 @@
          TextFont        =   "System"
          TextSize        =   0
-         Top             =   132
+         Top             =   139
          Underline       =   ""
          Visible         =   True
          Width           =   150
+      End
+      Begin Slider Slider_THGain
+         AutoDeactivate  =   True
+         Enabled         =   True
+         Height          =   16
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Left            =   310
+         LineStep        =   1
+         LiveScroll      =   ""
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Maximum         =   255
+         Minimum         =   1
+         PageStep        =   20
+         Scope           =   0
+         TabIndex        =   0
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Top             =   265
+         Value           =   0
+         Visible         =   True
+         Width           =   128
+      End
+      Begin EditField EditField_THGain
+         AcceptTabs      =   ""
+         Alignment       =   0
+         AutoDeactivate  =   True
+         BackColor       =   &hFFFFFF
+         Bold            =   ""
+         Border          =   True
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Format          =   ""
+         Height          =   22
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   450
+         LimitText       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Mask            =   "###"
+         Multiline       =   ""
+         Password        =   ""
+         ReadOnly        =   ""
+         Scope           =   0
+         ScrollbarHorizontal=   ""
+         ScrollbarVertical=   True
+         Styled          =   ""
+         TabIndex        =   1
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Text            =   ""
+         TextColor       =   &h000000
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   265
+         Underline       =   ""
+         UseFocusRing    =   True
+         Visible         =   True
+         Width           =   32
+      End
+      Begin StaticText StaticText_THGain
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   2
+         TabPanelIndex   =   3
+         Text            =   "Throttle Gain"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   265
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin Slider Slider_STGain
+         AutoDeactivate  =   True
+         Enabled         =   True
+         Height          =   16
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Left            =   310
+         LineStep        =   1
+         LiveScroll      =   ""
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Maximum         =   255
+         Minimum         =   1
+         PageStep        =   20
+         Scope           =   0
+         TabIndex        =   3
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Top             =   231
+         Value           =   0
+         Visible         =   True
+         Width           =   128
+      End
+      Begin EditField EditField_STGain
+         AcceptTabs      =   ""
+         Alignment       =   0
+         AutoDeactivate  =   True
+         BackColor       =   &hFFFFFF
+         Bold            =   ""
+         Border          =   True
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Format          =   ""
+         Height          =   22
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   450
+         LimitText       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Mask            =   "###"
+         Multiline       =   ""
+         Password        =   ""
+         ReadOnly        =   ""
+         Scope           =   0
+         ScrollbarHorizontal=   ""
+         ScrollbarVertical=   True
+         Styled          =   ""
+         TabIndex        =   4
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Text            =   ""
+         TextColor       =   &h000000
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   231
+         Underline       =   ""
+         UseFocusRing    =   True
+         Visible         =   True
+         Width           =   32
+      End
+      Begin StaticText StaticText_STGain
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   5
+         TabPanelIndex   =   3
+         Text            =   "Steering Gain"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   231
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_BackTiming
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "1\r2\r3\r4\r5\rCustom"
+         Italic          =   ""
+         Left            =   310
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   6
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   199
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_BackTiming
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   7
+         TabPanelIndex   =   3
+         Text            =   "Back Timing"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   199
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_VerticalInteria
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom"
+         Italic          =   ""
+         Left            =   310
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   8
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   168
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_VerticalIntertia
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   9
+         TabPanelIndex   =   3
+         Text            =   "Vertical Intertia"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   168
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_Nuetral
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Narrow\rMid\rWide\rCustom"
+         Italic          =   ""
+         Left            =   310
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   10
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   136
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_Nuetral
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   11
+         TabPanelIndex   =   3
+         Text            =   "Nuetral"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   136
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_DFreq
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "High\rMedium\rLow\rCustom"
+         Italic          =   ""
+         Left            =   310
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   12
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   104
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_DFreq
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   494
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   13
+         TabPanelIndex   =   3
+         Text            =   "Drive Frequency"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   103
+         Underline       =   ""
+         Visible         =   True
+         Width           =   106
+      End
+      Begin PopupMenu PopupMenu_Dump
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Over\rSmooth\rCustom"
+         Italic          =   ""
+         Left            =   14
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   14
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   259
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_Dump
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   15
+         TabPanelIndex   =   3
+         Text            =   "Dump"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   259
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_DBand
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Narrow\rMid\rWide\rCustom"
+         Italic          =   ""
+         Left            =   14
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   16
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   227
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_DBand
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   17
+         TabPanelIndex   =   3
+         Text            =   "Drive Band"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   227
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin Slider Slider_Punch
+         AutoDeactivate  =   True
+         Enabled         =   True
+         Height          =   16
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Left            =   14
+         LineStep        =   1
+         LiveScroll      =   ""
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Maximum         =   10
+         Minimum         =   1
+         PageStep        =   20
+         Scope           =   0
+         TabIndex        =   18
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Top             =   199
+         Value           =   0
+         Visible         =   True
+         Width           =   128
+      End
+      Begin EditField EditField_Punch
+         AcceptTabs      =   ""
+         Alignment       =   0
+         AutoDeactivate  =   True
+         BackColor       =   &hFFFFFF
+         Bold            =   ""
+         Border          =   True
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Format          =   ""
+         Height          =   22
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   154
+         LimitText       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Mask            =   "###"
+         Multiline       =   ""
+         Password        =   ""
+         ReadOnly        =   ""
+         Scope           =   0
+         ScrollbarHorizontal=   ""
+         ScrollbarVertical=   True
+         Styled          =   ""
+         TabIndex        =   19
+         TabPanelIndex   =   3
+         TabStop         =   True
+         Text            =   ""
+         TextColor       =   &h000000
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   199
+         Underline       =   ""
+         UseFocusRing    =   True
+         Visible         =   True
+         Width           =   32
+      End
+      Begin StaticText StaticText_Punch
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   20
+         TabPanelIndex   =   3
+         Text            =   "Punch"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   199
+         Underline       =   ""
+         Visible         =   True
+         Width           =   128
+      End
+      Begin PopupMenu PopupMenu_Speed
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom"
+         Italic          =   ""
+         Left            =   14
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   21
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   167
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_Speed
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   22
+         TabPanelIndex   =   3
+         Text            =   "Speed"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   167
+         Underline       =   ""
+         Visible         =   True
+         Width           =   100
+      End
+      Begin PopupMenu PopupMenu_Gain
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "Min\rMid\rStrong\rCustom"
+         Italic          =   ""
+         Left            =   14
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   23
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   135
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin StaticText StaticText_Gain
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   24
+         TabPanelIndex   =   3
+         Text            =   "Gain"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   136
+         Underline       =   ""
+         Visible         =   True
+         Width           =   100
+      End
+      Begin StaticText StaticText_CarType
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   198
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   25
+         TabPanelIndex   =   3
+         Text            =   "Car Type"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   103
+         Underline       =   ""
+         Visible         =   True
+         Width           =   100
+      End
+      Begin PopupMenu PopupMenu_CarType
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   "MR-03\rdNaNo\rASF"
+         Italic          =   ""
+         Left            =   14
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   26
+         TabPanelIndex   =   3
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   103
+         Underline       =   ""
+         Visible         =   True
+         Width           =   172
+      End
+      Begin PopupMenu PopupMenu_Profile
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         InitialValue    =   ""
+         Italic          =   ""
+         Left            =   26
+         ListIndex       =   0
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   0
+         TabPanelIndex   =   2
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   128
+         Underline       =   ""
+         Visible         =   True
+         Width           =   176
+      End
+      Begin PushButton PushButton_Create
+         AutoDeactivate  =   True
+         Bold            =   ""
+         Cancel          =   ""
+         Caption         =   "Create"
+         Default         =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   26
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   1
+         TabPanelIndex   =   2
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   164
+         Underline       =   ""
+         Visible         =   True
+         Width           =   88
+      End
+      Begin PushButton PushButton_Delete
+         AutoDeactivate  =   True
+         Bold            =   ""
+         Cancel          =   ""
+         Caption         =   "Delete"
+         Default         =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   126
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Scope           =   0
+         TabIndex        =   2
+         TabPanelIndex   =   2
+         TabStop         =   True
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   164
+         Underline       =   ""
+         Visible         =   False
+         Width           =   88
+      End
+      Begin StaticText StaticText_Profiles
+         AutoDeactivate  =   True
+         Bold            =   ""
+         DataField       =   ""
+         DataSource      =   ""
+         Enabled         =   True
+         Height          =   20
+         HelpTag         =   ""
+         Index           =   -2147483648
+         InitialParent   =   "TabPanel1"
+         Italic          =   ""
+         Left            =   214
+         LockBottom      =   ""
+         LockedInPosition=   False
+         LockLeft        =   ""
+         LockRight       =   ""
+         LockTop         =   ""
+         Multiline       =   ""
+         Scope           =   0
+         TabIndex        =   3
+         TabPanelIndex   =   2
+         Text            =   "Profiles"
+         TextAlign       =   0
+         TextColor       =   "&cB8B8B8"
+         TextFont        =   "System"
+         TextSize        =   0
+         Top             =   128
+         Underline       =   ""
+         Visible         =   True
+         Width           =   100
       End
    End
@@ -2685,5 +2633,5 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   312
+      Top             =   330
       Underline       =   ""
       Visible         =   True
@@ -2714,5 +2662,5 @@
       TextFont        =   "System"
       TextSize        =   0
-      Top             =   312
+      Top             =   330
       Underline       =   ""
       Visible         =   False
@@ -2793,4 +2741,42 @@
 		  end if
 		  
+		  #if TargetWin32
+		    //Have to change text colors since Windows does not allow for transparancy of the tab panel
+		    StaticText_BackTiming.TextColor = &c000000
+		    StaticText_Byte1.TextColor = &c000000
+		    StaticText_Byte10.TextColor = &c000000
+		    StaticText_Byte11.TextColor = &c000000
+		    StaticText_Byte12.TextColor = &c000000
+		    StaticText_Byte13.TextColor = &c000000
+		    StaticText_Byte14.TextColor = &c000000
+		    StaticText_Byte15.TextColor = &c000000
+		    StaticText_Byte16.TextColor = &c000000
+		    StaticText_Byte17.TextColor = &c000000
+		    StaticText_Byte18.TextColor = &c000000
+		    StaticText_Byte2.TextColor = &c000000
+		    StaticText_Byte3.TextColor = &c000000
+		    StaticText_Byte4.TextColor = &c000000
+		    StaticText_Byte5.TextColor = &c000000
+		    StaticText_Byte6.TextColor = &c000000
+		    StaticText_Byte7.TextColor = &c000000
+		    StaticText_Byte8.TextColor = &c000000
+		    StaticText_Byte9.TextColor = &c000000
+		    StaticText_CarType.TextColor = &c000000
+		    StaticText_DBand.TextColor = &c000000
+		    StaticText_DFreq.TextColor = &c000000
+		    StaticText_Dump.TextColor = &c000000
+		    StaticText_Gain.TextColor = &c000000
+		    StaticText_Nuetral.TextColor = &c000000
+		    StaticText_Profiles.TextColor = &c000000
+		    StaticText_Punch.TextColor = &c000000
+		    StaticText_SerialPort.TextColor = &c000000
+		    StaticText_Speed.TextColor = &c000000
+		    StaticText_STGain.TextColor = &c000000
+		    StaticText_THGain.TextColor = &c000000
+		    StaticText_Version.TextColor = &c000000
+		    StaticText_VerticalIntertia.TextColor = &c000000
+		    
+		  #endif
+		  
 		End Sub
 	#tag EndEvent
@@ -2808,8 +2794,9 @@
 		    Slider_STGain.Enabled = True
 		    StaticText_STGain.Enabled = True
+		    EditField_STGain.Enabled = True
 		    
 		    Slider_THGain.Enabled = True
 		    StaticText_THGain.Enabled = True
-		    
+		    EditField_THGain.Enabled = True
 		    
 		  Case "dNaNo"
@@ -2822,7 +2809,9 @@
 		    Slider_STGain.Enabled = True
 		    StaticText_STGain.Enabled = True
+		    EditField_STGain.Enabled = True
 		    
 		    Slider_THGain.Enabled = True
 		    StaticText_THGain.Enabled = True
+		    EditField_THGain.Enabled = True
 		    
 		  Case "ASF"
@@ -2835,9 +2824,10 @@
 		    StaticText_STGain.Enabled = False
 		    Slider_STGain.Value = 255
+		    EditField_STGain.Enabled = False
 		    
 		    Slider_THGain.Enabled = False
 		    StaticText_THGain.Enabled = False
 		    Slider_THGain.Value = 255
-		    
+		    EditField_THGain.Enabled = False
 		    
 		  end select
@@ -3189,47 +3179,271 @@
 	#tag EndEvent
 #tag EndEvents
-#tag Events PopupMenu_Profile
-	#tag Event
-		Sub Change()
+#tag Events EditField_Byte17
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
 		  if me.Text <> "" then
-		    PushButton_SaveProfile.Visible = true
-		    PushButton_Delete.Visible = true
-		    ICSSerialPort1.loadProfile(me.Text)
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
 		  end if
-		End Sub
-	#tag EndEvent
-	#tag Event
-		Sub Open()
-		  dim s() as string
+		  
+		  dim d as double
 		  dim i as integer
-		  
-		  s = ICSSerialPort1.listProfiles
-		  
-		  if UBound(s) > -1 then
-		    for each element as string in s
-		      me.AddRow(element)
-		    next
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte17 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte16
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
 		  end if
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events PushButton_Create
-	#tag Event
-		Sub Action()
-		  dim tempProfWindow as new createProfile
-		  tempProfWindow.Show
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events PushButton_Delete
-	#tag Event
-		Sub Action()
-		  ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text)
-		  
-		  PopupMenu_Profile.RemoveRow(PopupMenu_Profile.ListIndex)
-		  
-		  //Make sure to hide the save and delete profile buttons since no profile will be selected after this has been deleted
-		  PushButton_SaveProfile.Visible = False
-		  PushButton_Delete.Visible = False
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte16 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte15
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte15 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte14
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte14 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte13
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte13 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte12
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte12 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte11
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte11 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte10
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte10 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte9
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte09 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte8
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte08 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte7
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte07 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte6
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte06 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte5
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte05 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte4
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte04 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events EditField_Byte3
+	#tag Event
+		Sub TextChange()
+		  //Make sure we have a valid value if not then set it to something
+		  if me.Text <> "" then
+		    if val(me.Text) > 255 or val(me.Text) < 0 then
+		      me.Text = "255"
+		    end if
+		  end if
+		  
+		  dim d as double
+		  dim i as integer
+		  d = val(me.Text)
+		  i = d
+		  ICSSerialPort1.Byte03 = chrb(i)
 		End Sub
 	#tag EndEvent
@@ -3505,271 +3719,47 @@
 	#tag EndEvent
 #tag EndEvents
-#tag Events EditField_Byte17
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
+#tag Events PopupMenu_Profile
+	#tag Event
+		Sub Change()
 		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
+		    PushButton_SaveProfile.Visible = true
+		    PushButton_Delete.Visible = true
+		    ICSSerialPort1.loadProfile(me.Text)
 		  end if
-		  
-		  dim d as double
+		End Sub
+	#tag EndEvent
+	#tag Event
+		Sub Open()
+		  dim s() as string
 		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte17 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte16
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
+		  
+		  s = ICSSerialPort1.listProfiles
+		  
+		  if UBound(s) > -1 then
+		    for each element as string in s
+		      me.AddRow(element)
+		    next
 		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte16 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte15
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte15 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte14
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte14 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte13
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte13 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte12
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte12 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte11
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte11 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte10
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte10 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte9
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte09 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte8
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte08 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte7
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte07 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte6
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte06 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte5
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte05 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte4
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte04 = chrb(i)
-		End Sub
-	#tag EndEvent
-#tag EndEvents
-#tag Events EditField_Byte3
-	#tag Event
-		Sub TextChange()
-		  //Make sure we have a valid value if not then set it to something
-		  if me.Text <> "" then
-		    if val(me.Text) > 255 or val(me.Text) < 0 then
-		      me.Text = "255"
-		    end if
-		  end if
-		  
-		  dim d as double
-		  dim i as integer
-		  d = val(me.Text)
-		  i = d
-		  ICSSerialPort1.Byte03 = chrb(i)
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events PushButton_Create
+	#tag Event
+		Sub Action()
+		  dim tempProfWindow as new createProfile
+		  tempProfWindow.Show
+		End Sub
+	#tag EndEvent
+#tag EndEvents
+#tag Events PushButton_Delete
+	#tag Event
+		Sub Action()
+		  ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text)
+		  
+		  PopupMenu_Profile.RemoveRow(PopupMenu_Profile.ListIndex)
+		  
+		  //Make sure to hide the save and delete profile buttons since no profile will be selected after this has been deleted
+		  PushButton_SaveProfile.Visible = False
+		  PushButton_Delete.Visible = False
 		End Sub
 	#tag EndEvent
