From 76b2b1be10a0fb4f0f661366a3b78eaed0cd0e99 Mon Sep 17 00:00:00 2001
From: ZZYZX <zzyzx@virtual>
Date: Wed, 1 Feb 2017 19:10:22 +0200
Subject: [PATCH] Added: an option to display image sizes below names, not over
 texture previews

---
 Source/Core/Config/ProgramConfiguration.cs    |    8 +-
 Source/Core/Controls/ImageBrowserItem.cs      |   91 +-
 Source/Core/Controls/ImageSelectorPanel.cs    |    3 +
 Source/Core/Properties/AssemblyInfo.cs        |    4 +-
 .../Core/Windows/PreferencesForm.Designer.cs  | 4713 +++++++++--------
 Source/Core/Windows/PreferencesForm.cs        |    8 +-
 .../BuilderModes/Properties/AssemblyInfo.cs   |    2 +-
 7 files changed, 2438 insertions(+), 2391 deletions(-)

diff --git a/Source/Core/Config/ProgramConfiguration.cs b/Source/Core/Config/ProgramConfiguration.cs
index 7fff7bd97..9b0b865b3 100755
--- a/Source/Core/Config/ProgramConfiguration.cs
+++ b/Source/Core/Config/ProgramConfiguration.cs
@@ -85,6 +85,7 @@ namespace CodeImp.DoomBuilder.Config
 		private float filteranisotropy;
 		private int antialiasingsamples; //mxd
 		private bool showtexturesizes;
+        private bool texturesizesbelow; // [ZZ]
 		private bool locatetexturegroup; //mxd
 		private SplitLineBehavior splitlinebehavior; //mxd
 		private MergeGeometryMode mergegeomode; //mxd
@@ -194,6 +195,7 @@ namespace CodeImp.DoomBuilder.Config
 		public float FilterAnisotropy { get { return filteranisotropy; } internal set { filteranisotropy = value; } }
 		public int AntiAliasingSamples { get { return antialiasingsamples; } internal set { antialiasingsamples = value; } } //mxd
 		public bool ShowTextureSizes { get { return showtexturesizes; } internal set { showtexturesizes = value; } }
+        public bool TextureSizesBelow { get { return texturesizesbelow; } internal set { texturesizesbelow = value; } }
 		public bool LocateTextureGroup { get { return locatetexturegroup; } internal set { locatetexturegroup = value; } } //mxd
 		public SplitLineBehavior SplitLineBehavior { get { return splitlinebehavior; } set { splitlinebehavior = value; } } //mxd
 		public MergeGeometryMode MergeGeometryMode { get { return mergegeomode; } internal set { mergegeomode = value; } } //mxd
@@ -337,7 +339,8 @@ namespace CodeImp.DoomBuilder.Config
 				filteranisotropy = General.Clamp(cfg.ReadSetting("filteranisotropy", 16.0f), 1.0f, 16.0f);
 				antialiasingsamples = General.Clamp(cfg.ReadSetting("antialiasingsamples", 4), 0, 8) / 2 * 2; //mxd
 				showtexturesizes = cfg.ReadSetting("showtexturesizes", true);
-				locatetexturegroup = cfg.ReadSetting("locatetexturegroup", true); //mxd
+                texturesizesbelow = cfg.ReadSetting("texturesizesbelow", false); // [ZZ]
+                locatetexturegroup = cfg.ReadSetting("locatetexturegroup", true); //mxd
 				splitlinebehavior = (SplitLineBehavior)General.Clamp(cfg.ReadSetting("splitlinebehavior", 0), 0, Enum.GetValues(typeof(SplitLineBehavior)).Length - 1); //mxd
 				mergegeomode = (MergeGeometryMode)General.Clamp(cfg.ReadSetting("mergegeometrymode", (int)MergeGeometryMode.REPLACE), 0, Enum.GetValues(typeof(MergeGeometryMode)).Length - 1); //mxd
 				splitjoinedsectors = cfg.ReadSetting("splitjoinedsectors", true); //mxd
@@ -449,7 +452,8 @@ namespace CodeImp.DoomBuilder.Config
 			cfg.WriteSetting("filteranisotropy", filteranisotropy);
 			cfg.WriteSetting("antialiasingsamples", antialiasingsamples); //mxd
 			cfg.WriteSetting("showtexturesizes", showtexturesizes);
-			cfg.WriteSetting("locatetexturegroup", locatetexturegroup); //mxd
+            cfg.WriteSetting("texturesizesbelow", texturesizesbelow); // [ZZ]
+            cfg.WriteSetting("locatetexturegroup", locatetexturegroup); //mxd
 			cfg.WriteSetting("splitlinebehavior", (int)splitlinebehavior); //mxd
 			cfg.WriteSetting("mergegeometrymode", (int)mergegeomode); //mxd
 			cfg.WriteSetting("splitjoinedsectors", splitjoinedsectors); //mxd
diff --git a/Source/Core/Controls/ImageBrowserItem.cs b/Source/Core/Controls/ImageBrowserItem.cs
index 1b53bd8fe..22f3b0e56 100755
--- a/Source/Core/Controls/ImageBrowserItem.cs
+++ b/Source/Core/Controls/ImageBrowserItem.cs
@@ -83,7 +83,12 @@ namespace CodeImp.DoomBuilder.Controls
 		{
 			if(bmp == null) return;
 
-			var iw = bmp.Width;
+            int font = 4 + SystemFonts.MessageBoxFont.Height;
+            int h2 = h;
+            if (General.Settings.TextureSizesBelow && ItemType == ImageBrowserItemType.IMAGE)
+                h2 -= font;
+
+            var iw = bmp.Width;
 			var ih = bmp.Height;
 
 			if(iw > w && iw >= ih)
@@ -91,17 +96,17 @@ namespace CodeImp.DoomBuilder.Controls
 				ih = (int)Math.Floor(h * (ih / (float)iw));
 				iw = w;
 			}
-			else if(ih > h)
+			else if(ih > h2)
 			{
 				iw = (int)Math.Floor(w * (iw / (float)ih));
-				ih = h;
+				ih = h2;
 			}
 
-			int ix = (iw < w ? x + (w - iw) / 2 : x);
-			int iy = (ih < h ? y + (h - ih) / 2 : y);
+            int ix = (iw < w ? x + (w - iw) / 2 : x);
+			int iy = (ih < h2 ? y + (h2 - ih) / 2 : y);
 
-			// Pick colors and brushes
-			Brush bgbrush, fgbrush, selectedbgbrush, selectionbrush, selectiontextbrush;
+            // Pick colors and brushes
+            Brush bgbrush, fgbrush, selectedbgbrush, selectionbrush, selectiontextbrush;
 			Color bgcolor;
 			Pen selection, frame;
 			if(General.Settings.BlackBrowsers)
@@ -161,7 +166,7 @@ namespace CodeImp.DoomBuilder.Controls
                 }
                 else
                 {
-                    g.FillRectangle(selectedbgbrush, x - 13, y - 2, w + 26, h + 4 + SystemFonts.MessageBoxFont.Height);
+                    g.FillRectangle(selectedbgbrush, x - 13, y - 2, w + 26, h + font);
                 }
             }
 
@@ -171,43 +176,63 @@ namespace CodeImp.DoomBuilder.Controls
 			// Frame
 			if(selected && !classicview)
 			{
-				g.DrawRectangle(selection, x - 1, y - 1, w + 1, h + 1);
-				g.DrawRectangle(selection, x - 2, y - 2, w + 3, h + 3);
+				g.DrawRectangle(selection, x - 1, y - 1, w + 1, h2 + 1);
+				g.DrawRectangle(selection, x - 2, y - 2, w + 3, h2 + 3);
 
 				// Image name bg
-				g.FillRectangle(selectionbrush, x - 2, y + h + 2, w + 4, SystemFonts.MessageBoxFont.Height);
+				g.FillRectangle(selectionbrush, x - 2, y + h2 + 2, w + 4, SystemFonts.MessageBoxFont.Height + (General.Settings.TextureSizesBelow ? font : 0));
 			}
 			else if (!classicview)
 			{
-				g.DrawRectangle(frame, x - 1, y - 1, w + 1, h + 1);
+				g.DrawRectangle(frame, x - 1, y - 1, w + 1, h2 + 1);
 			}
 
             // Image name
-            float textureNameX = classicview ? (x + w / 2 - g.MeasureString(TextureName, SystemFonts.MessageBoxFont).Width / 2) : (x - 2);
-            g.DrawString(TextureName, SystemFonts.MessageBoxFont, (selected ? selectiontextbrush : fgbrush), textureNameX, y + h + 1);
+            float textureNameX = classicview ? (x + (float)w / 2 - g.MeasureString(TextureName, SystemFonts.MessageBoxFont).Width / 2) : (x - 2);
+            g.DrawString(TextureName, SystemFonts.MessageBoxFont, (selected ? selectiontextbrush : fgbrush), textureNameX, y + h2 + 1);
 
 			// Image size
 			if(General.Settings.ShowTextureSizes && icon.IsPreviewLoaded && itemtype == ImageBrowserItemType.IMAGE)
 			{
-				string imagesize = Math.Abs(icon.ScaledWidth) + "x" + Math.Abs(icon.ScaledHeight);
-				SizeF textsize = g.MeasureString(imagesize, SystemFonts.MessageBoxFont);
-				textsize.Width += 2;
-				textsize.Height -= 3;
-
-				// Draw bg
-				if(selected)
-				{
-					g.FillRectangle(selectionbrush, x, y, textsize.Width, textsize.Height);
-				}
-				else
-				{
-					using(Brush bg = new SolidBrush(Color.FromArgb(192, bgcolor)))
-					{
-						g.FillRectangle(bg, x, y, textsize.Width, textsize.Height);
-					}
-				}
-
-				g.DrawString(imagesize, SystemFonts.MessageBoxFont, (selected ? selectiontextbrush : fgbrush), x, y - 1);
+                if (!General.Settings.TextureSizesBelow)
+                {
+                    string imagesize = Math.Abs(icon.ScaledWidth) + "x" + Math.Abs(icon.ScaledHeight);
+                    SizeF textsize = g.MeasureString(imagesize, SystemFonts.MessageBoxFont);
+
+                    textsize.Width += 2;
+                    textsize.Height -= 3;
+
+                    // Draw bg
+                    if (selected)
+                    {
+                        g.FillRectangle(selectionbrush, x, y, textsize.Width, textsize.Height);
+                    }
+                    else
+                    {
+                        using (Brush bg = new SolidBrush(Color.FromArgb(192, bgcolor)))
+                        {
+                            g.FillRectangle(bg, x, y, textsize.Width, textsize.Height);
+                        }
+                    }
+
+                    g.DrawString(imagesize, SystemFonts.MessageBoxFont, (selected ? selectiontextbrush : fgbrush), x, y - 1);
+                }
+                else
+                {
+                    string imagesize = "(" + Math.Abs(icon.ScaledWidth) + "x" + Math.Abs(icon.ScaledHeight) + ")";
+
+                    // [ZZ] we can't draw it with the regular font: it blends in with the texture name.
+                    SolidBrush brush = new SolidBrush(((SolidBrush)(selected ? selectiontextbrush : fgbrush)).Color);
+                    brush.Color = Color.FromArgb((int)(brush.Color.A/* * 0.75f*/), brush.Color.R, brush.Color.G, brush.Color.B);
+                    
+                    Font f = new Font(SystemFonts.MessageBoxFont.FontFamily, SystemFonts.MessageBoxFont.Size * 0.8f, FontStyle.Regular);
+                    SizeF textsize = g.MeasureString(imagesize, f);
+
+                    float szx = classicview ? (x + (float)w / 2 - textsize.Width / 2) : x;
+                    float szy = (float)y + h;
+
+                    g.DrawString(imagesize, f, brush, szx, szy);
+                }
 			}
 		}
 
diff --git a/Source/Core/Controls/ImageSelectorPanel.cs b/Source/Core/Controls/ImageSelectorPanel.cs
index d3237ac27..f84ec6e35 100755
--- a/Source/Core/Controls/ImageSelectorPanel.cs
+++ b/Source/Core/Controls/ImageSelectorPanel.cs
@@ -529,6 +529,9 @@ namespace CodeImp.DoomBuilder.Controls
 				int rw = w - cx;
 				int wid = Math.Max((imagesize > 0 ? imagesize : preview.Width), ti.TextureNameWidth) + padhorz + padhorz;
 				int hei = (imagesize > 0 ? imagesize : preview.Height) + padvert + padvert + font;
+                // if we draw height below, add another font
+                if (General.Settings.TextureSizesBelow && ti.ItemType == ImageBrowserItemType.IMAGE)
+                    hei += font;
 				
 				if(rw < wid)
 				{
diff --git a/Source/Core/Properties/AssemblyInfo.cs b/Source/Core/Properties/AssemblyInfo.cs
index 7eb902e83..d0dd9ba1a 100755
--- a/Source/Core/Properties/AssemblyInfo.cs
+++ b/Source/Core/Properties/AssemblyInfo.cs
@@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
 //      Build Number
 //      Revision
 //
-[assembly: AssemblyVersion("2.3.0.2853")]
+[assembly: AssemblyVersion("2.3.0.2854")]
 [assembly: NeutralResourcesLanguageAttribute("en")]
-[assembly: AssemblyHash("fc7b9ec")]
+[assembly: AssemblyHash("71440fb")]
diff --git a/Source/Core/Windows/PreferencesForm.Designer.cs b/Source/Core/Windows/PreferencesForm.Designer.cs
index b0188d677..4f32213d9 100755
--- a/Source/Core/Windows/PreferencesForm.Designer.cs
+++ b/Source/Core/Windows/PreferencesForm.Designer.cs
@@ -29,877 +29,889 @@ namespace CodeImp.DoomBuilder.Windows
 		/// </summary>
 		private void InitializeComponent()
 		{
-			this.components = new System.ComponentModel.Container();
-			System.Windows.Forms.Label label7;
-			System.Windows.Forms.Label label5;
-			System.Windows.Forms.GroupBox groupBox1;
-			System.Windows.Forms.Label label1;
-			System.Windows.Forms.Label label18;
-			System.Windows.Forms.Label label27;
-			System.Windows.Forms.Label label29;
-			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreferencesForm));
-			this.blackbrowsers = new System.Windows.Forms.CheckBox();
-			this.checkforupdates = new System.Windows.Forms.CheckBox();
-			this.cbStoreEditTab = new System.Windows.Forms.CheckBox();
-			this.locatetexturegroup = new System.Windows.Forms.CheckBox();
-			this.recentFiles = new System.Windows.Forms.TrackBar();
-			this.labelRecentFiles = new System.Windows.Forms.Label();
-			this.label25 = new System.Windows.Forms.Label();
-			this.vertexScaleLabel = new System.Windows.Forms.Label();
-			this.label22 = new System.Windows.Forms.Label();
-			this.vertexScale = new System.Windows.Forms.TrackBar();
-			this.cbSynchCameras = new System.Windows.Forms.CheckBox();
-			this.showtexturesizes = new System.Windows.Forms.CheckBox();
-			this.scriptontop = new System.Windows.Forms.CheckBox();
-			this.zoomfactor = new System.Windows.Forms.TrackBar();
-			this.zoomfactorlabel = new System.Windows.Forms.Label();
-			this.label19 = new System.Windows.Forms.Label();
-			this.autoscrollspeed = new System.Windows.Forms.TrackBar();
-			this.autoscrollspeedlabel = new System.Windows.Forms.Label();
-			this.label15 = new System.Windows.Forms.Label();
-			this.label14 = new System.Windows.Forms.Label();
-			this.defaultviewmode = new System.Windows.Forms.ComboBox();
-			this.keyusedlabel = new System.Windows.Forms.Label();
-			this.colorsgroup1 = new System.Windows.Forms.GroupBox();
-			this.colorguidelines = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.color3dFloors = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorInfo = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorMD3 = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorgrid64 = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorgrid = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorindication = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorbackcolor = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorselection = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorvertices = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorhighlight = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorlinedefs = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.doublesidedalpha = new System.Windows.Forms.TrackBar();
-			this.label2 = new System.Windows.Forms.Label();
-			this.doublesidedalphalabel = new System.Windows.Forms.Label();
-			this.cbStretchView = new System.Windows.Forms.CheckBox();
-			this.qualitydisplay = new System.Windows.Forms.CheckBox();
-			this.cancel = new System.Windows.Forms.Button();
-			this.apply = new System.Windows.Forms.Button();
-			this.tabs = new System.Windows.Forms.TabControl();
-			this.tabinterface = new System.Windows.Forms.TabPage();
-			this.groupBox11 = new System.Windows.Forms.GroupBox();
-			this.label28 = new System.Windows.Forms.Label();
-			this.textlabelfontname = new System.Windows.Forms.ComboBox();
-			this.textlabelfontbold = new System.Windows.Forms.CheckBox();
-			this.label33 = new System.Windows.Forms.Label();
-			this.textlabelfontsize = new System.Windows.Forms.ComboBox();
-			this.groupBox3 = new System.Windows.Forms.GroupBox();
-			this.resetscreenshotsdir = new System.Windows.Forms.Button();
-			this.browsescreenshotsdir = new System.Windows.Forms.Button();
-			this.screenshotsfolderpath = new System.Windows.Forms.TextBox();
-			this.groupBox5 = new System.Windows.Forms.GroupBox();
-			this.toolbar_gzdoom = new System.Windows.Forms.CheckBox();
-			this.toolbar_file = new System.Windows.Forms.CheckBox();
-			this.toolbar_testing = new System.Windows.Forms.CheckBox();
-			this.toolbar_geometry = new System.Windows.Forms.CheckBox();
-			this.toolbar_viewmodes = new System.Windows.Forms.CheckBox();
-			this.toolbar_filter = new System.Windows.Forms.CheckBox();
-			this.toolbar_prefabs = new System.Windows.Forms.CheckBox();
-			this.toolbar_copy = new System.Windows.Forms.CheckBox();
-			this.toolbar_undo = new System.Windows.Forms.CheckBox();
-			this.toolbar_script = new System.Windows.Forms.CheckBox();
-			this.groupBox4 = new System.Windows.Forms.GroupBox();
-			this.collapsedockers = new System.Windows.Forms.CheckBox();
-			this.dockersposition = new System.Windows.Forms.ComboBox();
-			this.label17 = new System.Windows.Forms.Label();
-			this.groupBox2 = new System.Windows.Forms.GroupBox();
-			this.vertexScale3D = new System.Windows.Forms.TrackBar();
-			this.vertexScale3DLabel = new System.Windows.Forms.Label();
-			this.label26 = new System.Windows.Forms.Label();
-			this.viewdistance = new System.Windows.Forms.TrackBar();
-			this.movespeed = new System.Windows.Forms.TrackBar();
-			this.mousespeed = new System.Windows.Forms.TrackBar();
-			this.fieldofview = new System.Windows.Forms.TrackBar();
-			this.viewdistancelabel = new System.Windows.Forms.Label();
-			this.label13 = new System.Windows.Forms.Label();
-			this.invertyaxis = new System.Windows.Forms.CheckBox();
-			this.movespeedlabel = new System.Windows.Forms.Label();
-			this.label11 = new System.Windows.Forms.Label();
-			this.mousespeedlabel = new System.Windows.Forms.Label();
-			this.label9 = new System.Windows.Forms.Label();
-			this.fieldofviewlabel = new System.Windows.Forms.Label();
-			this.label4 = new System.Windows.Forms.Label();
-			this.tabkeys = new System.Windows.Forms.TabPage();
-			this.bClearActionFilter = new System.Windows.Forms.Button();
-			this.tbFilterActions = new System.Windows.Forms.TextBox();
-			this.label24 = new System.Windows.Forms.Label();
-			this.listactions = new System.Windows.Forms.ListView();
-			this.columncontrolaction = new System.Windows.Forms.ColumnHeader();
-			this.columncontrolkey = new System.Windows.Forms.ColumnHeader();
-			this.actioncontrolpanel = new System.Windows.Forms.GroupBox();
-			this.actiondescription = new System.Windows.Forms.TextBox();
-			this.keyusedlist = new System.Windows.Forms.ListBox();
-			this.disregardshiftlabel = new System.Windows.Forms.Label();
-			this.actioncontrol = new System.Windows.Forms.ComboBox();
-			this.actiontitle = new System.Windows.Forms.Label();
-			this.actioncontrolclear = new System.Windows.Forms.Button();
-			this.actionkey = new System.Windows.Forms.TextBox();
-			this.tabcolors = new System.Windows.Forms.TabPage();
-			this.appearancegroup1 = new System.Windows.Forms.GroupBox();
-			this.activethingsalphalabel = new System.Windows.Forms.Label();
-			this.label31 = new System.Windows.Forms.Label();
-			this.cbMarkExtraFloors = new System.Windows.Forms.CheckBox();
-			this.activethingsalpha = new System.Windows.Forms.TrackBar();
-			this.hiddenthingsalphalabel = new System.Windows.Forms.Label();
-			this.label32 = new System.Windows.Forms.Label();
-			this.inactivethingsalphalabel = new System.Windows.Forms.Label();
-			this.label30 = new System.Windows.Forms.Label();
-			this.labelantialiasing = new System.Windows.Forms.Label();
-			this.antialiasing = new System.Windows.Forms.TrackBar();
-			this.labelanisotropicfiltering = new System.Windows.Forms.Label();
-			this.anisotropicfiltering = new System.Windows.Forms.TrackBar();
-			this.cbOldHighlightMode = new System.Windows.Forms.CheckBox();
-			this.labelDynLightCount = new System.Windows.Forms.Label();
-			this.tbDynLightCount = new System.Windows.Forms.TrackBar();
-			this.imagebrightness = new System.Windows.Forms.TrackBar();
-			this.animatevisualselection = new System.Windows.Forms.CheckBox();
-			this.hiddenthingsalpha = new System.Windows.Forms.TrackBar();
-			this.inactivethingsalpha = new System.Windows.Forms.TrackBar();
-			this.visualbilinear = new System.Windows.Forms.CheckBox();
-			this.classicbilinear = new System.Windows.Forms.CheckBox();
-			this.imagebrightnesslabel = new System.Windows.Forms.Label();
-			this.tabscripteditor = new System.Windows.Forms.TabPage();
-			this.groupBox9 = new System.Windows.Forms.GroupBox();
-			this.scriptshowfolding = new System.Windows.Forms.CheckBox();
-			this.scriptshowlinenumbers = new System.Windows.Forms.CheckBox();
-			this.groupBox8 = new System.Windows.Forms.GroupBox();
-			this.scriptautoshowautocompletion = new System.Windows.Forms.CheckBox();
-			this.scriptautoclosebrackets = new System.Windows.Forms.CheckBox();
-			this.scriptusetabs = new System.Windows.Forms.CheckBox();
-			this.scriptallmanstyle = new System.Windows.Forms.CheckBox();
-			this.label10 = new System.Windows.Forms.Label();
-			this.scriptautoindent = new System.Windows.Forms.CheckBox();
-			this.scripttabwidth = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
-			this.groupBox7 = new System.Windows.Forms.GroupBox();
-			this.label3 = new System.Windows.Forms.Label();
-			this.scriptfontname = new System.Windows.Forms.ComboBox();
-			this.scriptfontbold = new System.Windows.Forms.CheckBox();
-			this.label8 = new System.Windows.Forms.Label();
-			this.scriptfontsize = new System.Windows.Forms.ComboBox();
-			this.groupBox6 = new System.Windows.Forms.GroupBox();
-			this.colorproperties = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.label23 = new System.Windows.Forms.Label();
-			this.scriptcolorpresets = new System.Windows.Forms.ComboBox();
-			this.colorfoldback = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorfoldfore = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorindicator = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorwhitespace = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorbracebad = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorbrace = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorselectionback = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorselectionfore = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorincludes = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorstrings = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorscriptbackground = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorplaintext = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorcomments = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorlinenumbers = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorkeywords = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorliterals = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.colorconstants = new CodeImp.DoomBuilder.Controls.ColorControl();
-			this.previewgroup = new System.Windows.Forms.GroupBox();
-			this.scriptedit = new CodeImp.DoomBuilder.Controls.ScriptEditorPreviewControl();
-			this.tabpasting = new System.Windows.Forms.TabPage();
-			this.label16 = new System.Windows.Forms.Label();
-			this.pasteoptions = new CodeImp.DoomBuilder.Controls.PasteOptionsControl();
-			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
-			this.browseScreenshotsFolderDialog = new System.Windows.Forms.FolderBrowserDialog();
-			label7 = new System.Windows.Forms.Label();
-			label5 = new System.Windows.Forms.Label();
-			groupBox1 = new System.Windows.Forms.GroupBox();
-			label1 = new System.Windows.Forms.Label();
-			label18 = new System.Windows.Forms.Label();
-			label27 = new System.Windows.Forms.Label();
-			label29 = new System.Windows.Forms.Label();
-			groupBox1.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.recentFiles)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.vertexScale)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.zoomfactor)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.autoscrollspeed)).BeginInit();
-			this.colorsgroup1.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.doublesidedalpha)).BeginInit();
-			this.tabs.SuspendLayout();
-			this.tabinterface.SuspendLayout();
-			this.groupBox11.SuspendLayout();
-			this.groupBox3.SuspendLayout();
-			this.groupBox5.SuspendLayout();
-			this.groupBox4.SuspendLayout();
-			this.groupBox2.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.vertexScale3D)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.viewdistance)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.movespeed)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.mousespeed)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.fieldofview)).BeginInit();
-			this.tabkeys.SuspendLayout();
-			this.actioncontrolpanel.SuspendLayout();
-			this.tabcolors.SuspendLayout();
-			this.appearancegroup1.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.antialiasing)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.anisotropicfiltering)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.tbDynLightCount)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.imagebrightness)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).BeginInit();
-			((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).BeginInit();
-			this.tabscripteditor.SuspendLayout();
-			this.groupBox9.SuspendLayout();
-			this.groupBox8.SuspendLayout();
-			this.groupBox7.SuspendLayout();
-			this.groupBox6.SuspendLayout();
-			this.previewgroup.SuspendLayout();
-			this.tabpasting.SuspendLayout();
-			this.SuspendLayout();
-			// 
-			// label7
-			// 
-			label7.AutoSize = true;
-			label7.Location = new System.Drawing.Point(20, 172);
-			label7.Name = "label7";
-			label7.Size = new System.Drawing.Size(182, 13);
-			label7.TabIndex = 7;
-			label7.Text = "Or select a special input control here:";
-			// 
-			// label5
-			// 
-			label5.AutoSize = true;
-			label5.Location = new System.Drawing.Point(20, 122);
-			label5.Name = "label5";
-			label5.Size = new System.Drawing.Size(195, 13);
-			label5.TabIndex = 4;
-			label5.Text = "Press the desired key combination here:";
-			// 
-			// groupBox1
-			// 
-			groupBox1.Controls.Add(this.blackbrowsers);
-			groupBox1.Controls.Add(this.checkforupdates);
-			groupBox1.Controls.Add(this.cbStoreEditTab);
-			groupBox1.Controls.Add(this.locatetexturegroup);
-			groupBox1.Controls.Add(this.recentFiles);
-			groupBox1.Controls.Add(this.labelRecentFiles);
-			groupBox1.Controls.Add(this.label25);
-			groupBox1.Controls.Add(this.vertexScaleLabel);
-			groupBox1.Controls.Add(this.label22);
-			groupBox1.Controls.Add(this.vertexScale);
-			groupBox1.Controls.Add(this.cbSynchCameras);
-			groupBox1.Controls.Add(this.showtexturesizes);
-			groupBox1.Controls.Add(this.scriptontop);
-			groupBox1.Controls.Add(this.zoomfactor);
-			groupBox1.Controls.Add(this.zoomfactorlabel);
-			groupBox1.Controls.Add(this.label19);
-			groupBox1.Controls.Add(this.autoscrollspeed);
-			groupBox1.Controls.Add(this.autoscrollspeedlabel);
-			groupBox1.Controls.Add(this.label15);
-			groupBox1.Controls.Add(this.label14);
-			groupBox1.Controls.Add(this.defaultviewmode);
-			groupBox1.Location = new System.Drawing.Point(8, 8);
-			groupBox1.Name = "groupBox1";
-			groupBox1.Size = new System.Drawing.Size(331, 438);
-			groupBox1.TabIndex = 0;
-			groupBox1.TabStop = false;
-			groupBox1.Text = " Options ";
-			// 
-			// blackbrowsers
-			// 
-			this.blackbrowsers.AutoSize = true;
-			this.blackbrowsers.Location = new System.Drawing.Point(16, 277);
-			this.blackbrowsers.Name = "blackbrowsers";
-			this.blackbrowsers.Size = new System.Drawing.Size(195, 17);
-			this.blackbrowsers.TabIndex = 10;
-			this.blackbrowsers.Text = "Black background in image browser";
-			this.blackbrowsers.UseVisualStyleBackColor = true;
-			// 
-			// checkforupdates
-			// 
-			this.checkforupdates.AutoSize = true;
-			this.checkforupdates.Location = new System.Drawing.Point(16, 346);
-			this.checkforupdates.Name = "checkforupdates";
-			this.checkforupdates.Size = new System.Drawing.Size(160, 17);
-			this.checkforupdates.TabIndex = 14;
-			this.checkforupdates.Text = "Check for updates at startup";
-			this.checkforupdates.UseVisualStyleBackColor = true;
-			// 
-			// cbStoreEditTab
-			// 
-			this.cbStoreEditTab.AutoSize = true;
-			this.cbStoreEditTab.Location = new System.Drawing.Point(16, 323);
-			this.cbStoreEditTab.Name = "cbStoreEditTab";
-			this.cbStoreEditTab.Size = new System.Drawing.Size(203, 17);
-			this.cbStoreEditTab.TabIndex = 13;
-			this.cbStoreEditTab.Text = "Edit windows remember selected tabs";
-			this.cbStoreEditTab.UseVisualStyleBackColor = true;
-			// 
-			// locatetexturegroup
-			// 
-			this.locatetexturegroup.AutoSize = true;
-			this.locatetexturegroup.Location = new System.Drawing.Point(16, 254);
-			this.locatetexturegroup.Name = "locatetexturegroup";
-			this.locatetexturegroup.Size = new System.Drawing.Size(267, 17);
-			this.locatetexturegroup.TabIndex = 8;
-			this.locatetexturegroup.Text = "Select texture group when opening image browsers";
-			this.toolTip1.SetToolTip(this.locatetexturegroup, "When enabled, the group current texture belongs to\r\nwill be selected when opening" +
-					" image browsers.\r\nWhen disabled, \"All\" texture group will be selected.");
-			this.locatetexturegroup.UseVisualStyleBackColor = true;
-			// 
-			// recentFiles
-			// 
-			this.recentFiles.BackColor = System.Drawing.SystemColors.Window;
-			this.recentFiles.LargeChange = 1;
-			this.recentFiles.Location = new System.Drawing.Point(127, 156);
-			this.recentFiles.Maximum = 25;
-			this.recentFiles.Minimum = 8;
-			this.recentFiles.Name = "recentFiles";
-			this.recentFiles.Size = new System.Drawing.Size(116, 45);
-			this.recentFiles.TabIndex = 5;
-			this.recentFiles.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.recentFiles.Value = 8;
-			this.recentFiles.ValueChanged += new System.EventHandler(this.recentFiles_ValueChanged);
-			// 
-			// labelRecentFiles
-			// 
-			this.labelRecentFiles.AutoSize = true;
-			this.labelRecentFiles.Location = new System.Drawing.Point(249, 168);
-			this.labelRecentFiles.Name = "labelRecentFiles";
-			this.labelRecentFiles.Size = new System.Drawing.Size(13, 13);
-			this.labelRecentFiles.TabIndex = 48;
-			this.labelRecentFiles.Text = "8";
-			// 
-			// label25
-			// 
-			this.label25.AutoSize = true;
-			this.label25.Location = new System.Drawing.Point(31, 169);
-			this.label25.Name = "label25";
-			this.label25.Size = new System.Drawing.Size(87, 13);
-			this.label25.TabIndex = 47;
-			this.label25.Text = "Max. recent files:";
-			this.toolTip1.SetToolTip(this.label25, "Controls how many recent files \r\nare shown in the \"File\" menu.");
-			// 
-			// vertexScaleLabel
-			// 
-			this.vertexScaleLabel.AutoSize = true;
-			this.vertexScaleLabel.Location = new System.Drawing.Point(249, 131);
-			this.vertexScaleLabel.Name = "vertexScaleLabel";
-			this.vertexScaleLabel.Size = new System.Drawing.Size(74, 13);
-			this.vertexScaleLabel.TabIndex = 45;
-			this.vertexScaleLabel.Text = "100% (default)";
-			// 
-			// label22
-			// 
-			this.label22.AutoSize = true;
-			this.label22.Location = new System.Drawing.Point(26, 131);
-			this.label22.Name = "label22";
-			this.label22.Size = new System.Drawing.Size(91, 13);
-			this.label22.TabIndex = 44;
-			this.label22.Text = "Vertex scale (2D):";
-			this.toolTip1.SetToolTip(this.label22, "Sets the size of vertex handles\r\nin 2D modes");
-			// 
-			// vertexScale
-			// 
-			this.vertexScale.BackColor = System.Drawing.SystemColors.Window;
-			this.vertexScale.LargeChange = 1;
-			this.vertexScale.Location = new System.Drawing.Point(127, 119);
-			this.vertexScale.Minimum = 1;
-			this.vertexScale.Name = "vertexScale";
-			this.vertexScale.Size = new System.Drawing.Size(116, 45);
-			this.vertexScale.TabIndex = 4;
-			this.vertexScale.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.vertexScale.Value = 1;
-			this.vertexScale.ValueChanged += new System.EventHandler(this.vertexScale_ValueChanged);
-			// 
-			// cbSynchCameras
-			// 
-			this.cbSynchCameras.AutoSize = true;
-			this.cbSynchCameras.Location = new System.Drawing.Point(16, 300);
-			this.cbSynchCameras.Name = "cbSynchCameras";
-			this.cbSynchCameras.Size = new System.Drawing.Size(294, 17);
-			this.cbSynchCameras.TabIndex = 12;
-			this.cbSynchCameras.Text = "Synchronize camera position between 2D and 3D modes";
-			this.cbSynchCameras.UseVisualStyleBackColor = true;
-			// 
-			// showtexturesizes
-			// 
-			this.showtexturesizes.AutoSize = true;
-			this.showtexturesizes.Location = new System.Drawing.Point(16, 231);
-			this.showtexturesizes.Name = "showtexturesizes";
-			this.showtexturesizes.Size = new System.Drawing.Size(208, 17);
-			this.showtexturesizes.TabIndex = 7;
-			this.showtexturesizes.Text = "Show texture and flat sizes in browsers";
-			this.showtexturesizes.UseVisualStyleBackColor = true;
-			// 
-			// scriptontop
-			// 
-			this.scriptontop.AutoSize = true;
-			this.scriptontop.Location = new System.Drawing.Point(16, 208);
-			this.scriptontop.Name = "scriptontop";
-			this.scriptontop.Size = new System.Drawing.Size(227, 17);
-			this.scriptontop.TabIndex = 6;
-			this.scriptontop.Text = "Script Editor always on top of main window";
-			this.scriptontop.UseVisualStyleBackColor = true;
-			// 
-			// zoomfactor
-			// 
-			this.zoomfactor.BackColor = System.Drawing.SystemColors.Window;
-			this.zoomfactor.LargeChange = 1;
-			this.zoomfactor.Location = new System.Drawing.Point(127, 82);
-			this.zoomfactor.Minimum = 1;
-			this.zoomfactor.Name = "zoomfactor";
-			this.zoomfactor.Size = new System.Drawing.Size(116, 45);
-			this.zoomfactor.TabIndex = 3;
-			this.zoomfactor.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.zoomfactor.Value = 3;
-			this.zoomfactor.ValueChanged += new System.EventHandler(this.zoomfactor_ValueChanged);
-			// 
-			// zoomfactorlabel
-			// 
-			this.zoomfactorlabel.AutoSize = true;
-			this.zoomfactorlabel.Location = new System.Drawing.Point(249, 94);
-			this.zoomfactorlabel.Name = "zoomfactorlabel";
-			this.zoomfactorlabel.Size = new System.Drawing.Size(27, 13);
-			this.zoomfactorlabel.TabIndex = 39;
-			this.zoomfactorlabel.Text = "30%";
-			// 
-			// label19
-			// 
-			this.label19.AutoSize = true;
-			this.label19.Location = new System.Drawing.Point(52, 94);
-			this.label19.Name = "label19";
-			this.label19.Size = new System.Drawing.Size(67, 13);
-			this.label19.TabIndex = 38;
-			this.label19.Text = "Zoom factor:";
-			// 
-			// autoscrollspeed
-			// 
-			this.autoscrollspeed.BackColor = System.Drawing.SystemColors.Window;
-			this.autoscrollspeed.LargeChange = 1;
-			this.autoscrollspeed.Location = new System.Drawing.Point(127, 45);
-			this.autoscrollspeed.Maximum = 5;
-			this.autoscrollspeed.Name = "autoscrollspeed";
-			this.autoscrollspeed.Size = new System.Drawing.Size(116, 45);
-			this.autoscrollspeed.TabIndex = 2;
-			this.autoscrollspeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.autoscrollspeed.ValueChanged += new System.EventHandler(this.autoscrollspeed_ValueChanged);
-			// 
-			// autoscrollspeedlabel
-			// 
-			this.autoscrollspeedlabel.AutoSize = true;
-			this.autoscrollspeedlabel.Location = new System.Drawing.Point(249, 57);
-			this.autoscrollspeedlabel.Name = "autoscrollspeedlabel";
-			this.autoscrollspeedlabel.Size = new System.Drawing.Size(21, 13);
-			this.autoscrollspeedlabel.TabIndex = 36;
-			this.autoscrollspeedlabel.Text = "Off";
-			// 
-			// label15
-			// 
-			this.label15.AutoSize = true;
-			this.label15.Location = new System.Drawing.Point(26, 57);
-			this.label15.Name = "label15";
-			this.label15.Size = new System.Drawing.Size(91, 13);
-			this.label15.TabIndex = 35;
-			this.label15.Text = "Auto-scroll speed:";
-			// 
-			// label14
-			// 
-			this.label14.AutoSize = true;
-			this.label14.Location = new System.Drawing.Point(50, 20);
-			this.label14.Name = "label14";
-			this.label14.Size = new System.Drawing.Size(69, 13);
-			this.label14.TabIndex = 14;
-			this.label14.Text = "Default view:";
-			// 
-			// defaultviewmode
-			// 
-			this.defaultviewmode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.defaultviewmode.FormattingEnabled = true;
-			this.defaultviewmode.Items.AddRange(new object[] {
+            this.components = new System.ComponentModel.Container();
+            System.Windows.Forms.Label label7;
+            System.Windows.Forms.Label label5;
+            System.Windows.Forms.GroupBox groupBox1;
+            System.Windows.Forms.Label label1;
+            System.Windows.Forms.Label label18;
+            System.Windows.Forms.Label label27;
+            System.Windows.Forms.Label label29;
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreferencesForm));
+            this.texturesizesbelow = new System.Windows.Forms.CheckBox();
+            this.blackbrowsers = new System.Windows.Forms.CheckBox();
+            this.checkforupdates = new System.Windows.Forms.CheckBox();
+            this.cbStoreEditTab = new System.Windows.Forms.CheckBox();
+            this.locatetexturegroup = new System.Windows.Forms.CheckBox();
+            this.recentFiles = new System.Windows.Forms.TrackBar();
+            this.labelRecentFiles = new System.Windows.Forms.Label();
+            this.label25 = new System.Windows.Forms.Label();
+            this.vertexScaleLabel = new System.Windows.Forms.Label();
+            this.label22 = new System.Windows.Forms.Label();
+            this.vertexScale = new System.Windows.Forms.TrackBar();
+            this.cbSynchCameras = new System.Windows.Forms.CheckBox();
+            this.showtexturesizes = new System.Windows.Forms.CheckBox();
+            this.scriptontop = new System.Windows.Forms.CheckBox();
+            this.zoomfactor = new System.Windows.Forms.TrackBar();
+            this.zoomfactorlabel = new System.Windows.Forms.Label();
+            this.label19 = new System.Windows.Forms.Label();
+            this.autoscrollspeed = new System.Windows.Forms.TrackBar();
+            this.autoscrollspeedlabel = new System.Windows.Forms.Label();
+            this.label15 = new System.Windows.Forms.Label();
+            this.label14 = new System.Windows.Forms.Label();
+            this.defaultviewmode = new System.Windows.Forms.ComboBox();
+            this.keyusedlabel = new System.Windows.Forms.Label();
+            this.colorsgroup1 = new System.Windows.Forms.GroupBox();
+            this.colorguidelines = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.color3dFloors = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorInfo = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorMD3 = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorgrid64 = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorgrid = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorindication = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorbackcolor = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorselection = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorvertices = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorhighlight = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorlinedefs = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.doublesidedalpha = new System.Windows.Forms.TrackBar();
+            this.label2 = new System.Windows.Forms.Label();
+            this.doublesidedalphalabel = new System.Windows.Forms.Label();
+            this.cbStretchView = new System.Windows.Forms.CheckBox();
+            this.qualitydisplay = new System.Windows.Forms.CheckBox();
+            this.cancel = new System.Windows.Forms.Button();
+            this.apply = new System.Windows.Forms.Button();
+            this.tabs = new System.Windows.Forms.TabControl();
+            this.tabinterface = new System.Windows.Forms.TabPage();
+            this.groupBox11 = new System.Windows.Forms.GroupBox();
+            this.label28 = new System.Windows.Forms.Label();
+            this.textlabelfontname = new System.Windows.Forms.ComboBox();
+            this.textlabelfontbold = new System.Windows.Forms.CheckBox();
+            this.label33 = new System.Windows.Forms.Label();
+            this.textlabelfontsize = new System.Windows.Forms.ComboBox();
+            this.groupBox3 = new System.Windows.Forms.GroupBox();
+            this.resetscreenshotsdir = new System.Windows.Forms.Button();
+            this.browsescreenshotsdir = new System.Windows.Forms.Button();
+            this.screenshotsfolderpath = new System.Windows.Forms.TextBox();
+            this.groupBox5 = new System.Windows.Forms.GroupBox();
+            this.toolbar_gzdoom = new System.Windows.Forms.CheckBox();
+            this.toolbar_file = new System.Windows.Forms.CheckBox();
+            this.toolbar_testing = new System.Windows.Forms.CheckBox();
+            this.toolbar_geometry = new System.Windows.Forms.CheckBox();
+            this.toolbar_viewmodes = new System.Windows.Forms.CheckBox();
+            this.toolbar_filter = new System.Windows.Forms.CheckBox();
+            this.toolbar_prefabs = new System.Windows.Forms.CheckBox();
+            this.toolbar_copy = new System.Windows.Forms.CheckBox();
+            this.toolbar_undo = new System.Windows.Forms.CheckBox();
+            this.toolbar_script = new System.Windows.Forms.CheckBox();
+            this.groupBox4 = new System.Windows.Forms.GroupBox();
+            this.collapsedockers = new System.Windows.Forms.CheckBox();
+            this.dockersposition = new System.Windows.Forms.ComboBox();
+            this.label17 = new System.Windows.Forms.Label();
+            this.groupBox2 = new System.Windows.Forms.GroupBox();
+            this.vertexScale3D = new System.Windows.Forms.TrackBar();
+            this.vertexScale3DLabel = new System.Windows.Forms.Label();
+            this.label26 = new System.Windows.Forms.Label();
+            this.viewdistance = new System.Windows.Forms.TrackBar();
+            this.movespeed = new System.Windows.Forms.TrackBar();
+            this.mousespeed = new System.Windows.Forms.TrackBar();
+            this.fieldofview = new System.Windows.Forms.TrackBar();
+            this.viewdistancelabel = new System.Windows.Forms.Label();
+            this.label13 = new System.Windows.Forms.Label();
+            this.invertyaxis = new System.Windows.Forms.CheckBox();
+            this.movespeedlabel = new System.Windows.Forms.Label();
+            this.label11 = new System.Windows.Forms.Label();
+            this.mousespeedlabel = new System.Windows.Forms.Label();
+            this.label9 = new System.Windows.Forms.Label();
+            this.fieldofviewlabel = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.tabkeys = new System.Windows.Forms.TabPage();
+            this.bClearActionFilter = new System.Windows.Forms.Button();
+            this.tbFilterActions = new System.Windows.Forms.TextBox();
+            this.label24 = new System.Windows.Forms.Label();
+            this.listactions = new System.Windows.Forms.ListView();
+            this.columncontrolaction = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+            this.columncontrolkey = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+            this.actioncontrolpanel = new System.Windows.Forms.GroupBox();
+            this.actiondescription = new System.Windows.Forms.TextBox();
+            this.keyusedlist = new System.Windows.Forms.ListBox();
+            this.disregardshiftlabel = new System.Windows.Forms.Label();
+            this.actioncontrol = new System.Windows.Forms.ComboBox();
+            this.actiontitle = new System.Windows.Forms.Label();
+            this.actioncontrolclear = new System.Windows.Forms.Button();
+            this.actionkey = new System.Windows.Forms.TextBox();
+            this.tabcolors = new System.Windows.Forms.TabPage();
+            this.appearancegroup1 = new System.Windows.Forms.GroupBox();
+            this.activethingsalphalabel = new System.Windows.Forms.Label();
+            this.label31 = new System.Windows.Forms.Label();
+            this.cbMarkExtraFloors = new System.Windows.Forms.CheckBox();
+            this.activethingsalpha = new System.Windows.Forms.TrackBar();
+            this.hiddenthingsalphalabel = new System.Windows.Forms.Label();
+            this.label32 = new System.Windows.Forms.Label();
+            this.inactivethingsalphalabel = new System.Windows.Forms.Label();
+            this.label30 = new System.Windows.Forms.Label();
+            this.labelantialiasing = new System.Windows.Forms.Label();
+            this.antialiasing = new System.Windows.Forms.TrackBar();
+            this.labelanisotropicfiltering = new System.Windows.Forms.Label();
+            this.anisotropicfiltering = new System.Windows.Forms.TrackBar();
+            this.cbOldHighlightMode = new System.Windows.Forms.CheckBox();
+            this.labelDynLightCount = new System.Windows.Forms.Label();
+            this.tbDynLightCount = new System.Windows.Forms.TrackBar();
+            this.imagebrightness = new System.Windows.Forms.TrackBar();
+            this.animatevisualselection = new System.Windows.Forms.CheckBox();
+            this.hiddenthingsalpha = new System.Windows.Forms.TrackBar();
+            this.inactivethingsalpha = new System.Windows.Forms.TrackBar();
+            this.visualbilinear = new System.Windows.Forms.CheckBox();
+            this.classicbilinear = new System.Windows.Forms.CheckBox();
+            this.imagebrightnesslabel = new System.Windows.Forms.Label();
+            this.tabscripteditor = new System.Windows.Forms.TabPage();
+            this.groupBox9 = new System.Windows.Forms.GroupBox();
+            this.scriptshowfolding = new System.Windows.Forms.CheckBox();
+            this.scriptshowlinenumbers = new System.Windows.Forms.CheckBox();
+            this.groupBox8 = new System.Windows.Forms.GroupBox();
+            this.scriptautoshowautocompletion = new System.Windows.Forms.CheckBox();
+            this.scriptautoclosebrackets = new System.Windows.Forms.CheckBox();
+            this.scriptusetabs = new System.Windows.Forms.CheckBox();
+            this.scriptallmanstyle = new System.Windows.Forms.CheckBox();
+            this.label10 = new System.Windows.Forms.Label();
+            this.scriptautoindent = new System.Windows.Forms.CheckBox();
+            this.scripttabwidth = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+            this.groupBox7 = new System.Windows.Forms.GroupBox();
+            this.label3 = new System.Windows.Forms.Label();
+            this.scriptfontname = new System.Windows.Forms.ComboBox();
+            this.scriptfontbold = new System.Windows.Forms.CheckBox();
+            this.label8 = new System.Windows.Forms.Label();
+            this.scriptfontsize = new System.Windows.Forms.ComboBox();
+            this.groupBox6 = new System.Windows.Forms.GroupBox();
+            this.colorproperties = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.label23 = new System.Windows.Forms.Label();
+            this.scriptcolorpresets = new System.Windows.Forms.ComboBox();
+            this.colorfoldback = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorfoldfore = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorindicator = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorwhitespace = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorbracebad = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorbrace = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorselectionback = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorselectionfore = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorincludes = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorstrings = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorscriptbackground = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorplaintext = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorcomments = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorlinenumbers = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorkeywords = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorliterals = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.colorconstants = new CodeImp.DoomBuilder.Controls.ColorControl();
+            this.previewgroup = new System.Windows.Forms.GroupBox();
+            this.scriptedit = new CodeImp.DoomBuilder.Controls.ScriptEditorPreviewControl();
+            this.tabpasting = new System.Windows.Forms.TabPage();
+            this.label16 = new System.Windows.Forms.Label();
+            this.pasteoptions = new CodeImp.DoomBuilder.Controls.PasteOptionsControl();
+            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+            this.browseScreenshotsFolderDialog = new System.Windows.Forms.FolderBrowserDialog();
+            label7 = new System.Windows.Forms.Label();
+            label5 = new System.Windows.Forms.Label();
+            groupBox1 = new System.Windows.Forms.GroupBox();
+            label1 = new System.Windows.Forms.Label();
+            label18 = new System.Windows.Forms.Label();
+            label27 = new System.Windows.Forms.Label();
+            label29 = new System.Windows.Forms.Label();
+            groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.recentFiles)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.vertexScale)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.zoomfactor)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.autoscrollspeed)).BeginInit();
+            this.colorsgroup1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.doublesidedalpha)).BeginInit();
+            this.tabs.SuspendLayout();
+            this.tabinterface.SuspendLayout();
+            this.groupBox11.SuspendLayout();
+            this.groupBox3.SuspendLayout();
+            this.groupBox5.SuspendLayout();
+            this.groupBox4.SuspendLayout();
+            this.groupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.vertexScale3D)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.viewdistance)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.movespeed)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.mousespeed)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.fieldofview)).BeginInit();
+            this.tabkeys.SuspendLayout();
+            this.actioncontrolpanel.SuspendLayout();
+            this.tabcolors.SuspendLayout();
+            this.appearancegroup1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.antialiasing)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.anisotropicfiltering)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.tbDynLightCount)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.imagebrightness)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).BeginInit();
+            this.tabscripteditor.SuspendLayout();
+            this.groupBox9.SuspendLayout();
+            this.groupBox8.SuspendLayout();
+            this.groupBox7.SuspendLayout();
+            this.groupBox6.SuspendLayout();
+            this.previewgroup.SuspendLayout();
+            this.tabpasting.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // label7
+            // 
+            label7.AutoSize = true;
+            label7.Location = new System.Drawing.Point(20, 172);
+            label7.Name = "label7";
+            label7.Size = new System.Drawing.Size(182, 13);
+            label7.TabIndex = 7;
+            label7.Text = "Or select a special input control here:";
+            // 
+            // label5
+            // 
+            label5.AutoSize = true;
+            label5.Location = new System.Drawing.Point(20, 122);
+            label5.Name = "label5";
+            label5.Size = new System.Drawing.Size(195, 13);
+            label5.TabIndex = 4;
+            label5.Text = "Press the desired key combination here:";
+            // 
+            // groupBox1
+            // 
+            groupBox1.Controls.Add(this.texturesizesbelow);
+            groupBox1.Controls.Add(this.blackbrowsers);
+            groupBox1.Controls.Add(this.checkforupdates);
+            groupBox1.Controls.Add(this.cbStoreEditTab);
+            groupBox1.Controls.Add(this.locatetexturegroup);
+            groupBox1.Controls.Add(this.recentFiles);
+            groupBox1.Controls.Add(this.labelRecentFiles);
+            groupBox1.Controls.Add(this.label25);
+            groupBox1.Controls.Add(this.vertexScaleLabel);
+            groupBox1.Controls.Add(this.label22);
+            groupBox1.Controls.Add(this.vertexScale);
+            groupBox1.Controls.Add(this.cbSynchCameras);
+            groupBox1.Controls.Add(this.showtexturesizes);
+            groupBox1.Controls.Add(this.scriptontop);
+            groupBox1.Controls.Add(this.zoomfactor);
+            groupBox1.Controls.Add(this.zoomfactorlabel);
+            groupBox1.Controls.Add(this.label19);
+            groupBox1.Controls.Add(this.autoscrollspeed);
+            groupBox1.Controls.Add(this.autoscrollspeedlabel);
+            groupBox1.Controls.Add(this.label15);
+            groupBox1.Controls.Add(this.label14);
+            groupBox1.Controls.Add(this.defaultviewmode);
+            groupBox1.Location = new System.Drawing.Point(8, 8);
+            groupBox1.Name = "groupBox1";
+            groupBox1.Size = new System.Drawing.Size(331, 438);
+            groupBox1.TabIndex = 0;
+            groupBox1.TabStop = false;
+            groupBox1.Text = " Options ";
+            // 
+            // texturesizesbelow
+            // 
+            this.texturesizesbelow.AutoSize = true;
+            this.texturesizesbelow.Location = new System.Drawing.Point(16, 254);
+            this.texturesizesbelow.Name = "texturesizesbelow";
+            this.texturesizesbelow.Size = new System.Drawing.Size(198, 17);
+            this.texturesizesbelow.TabIndex = 49;
+            this.texturesizesbelow.Text = "Show sizes below flat/texture names";
+            this.texturesizesbelow.UseVisualStyleBackColor = true;
+            // 
+            // blackbrowsers
+            // 
+            this.blackbrowsers.AutoSize = true;
+            this.blackbrowsers.Location = new System.Drawing.Point(16, 300);
+            this.blackbrowsers.Name = "blackbrowsers";
+            this.blackbrowsers.Size = new System.Drawing.Size(195, 17);
+            this.blackbrowsers.TabIndex = 10;
+            this.blackbrowsers.Text = "Black background in image browser";
+            this.blackbrowsers.UseVisualStyleBackColor = true;
+            // 
+            // checkforupdates
+            // 
+            this.checkforupdates.AutoSize = true;
+            this.checkforupdates.Location = new System.Drawing.Point(16, 369);
+            this.checkforupdates.Name = "checkforupdates";
+            this.checkforupdates.Size = new System.Drawing.Size(160, 17);
+            this.checkforupdates.TabIndex = 14;
+            this.checkforupdates.Text = "Check for updates at startup";
+            this.checkforupdates.UseVisualStyleBackColor = true;
+            // 
+            // cbStoreEditTab
+            // 
+            this.cbStoreEditTab.AutoSize = true;
+            this.cbStoreEditTab.Location = new System.Drawing.Point(16, 346);
+            this.cbStoreEditTab.Name = "cbStoreEditTab";
+            this.cbStoreEditTab.Size = new System.Drawing.Size(203, 17);
+            this.cbStoreEditTab.TabIndex = 13;
+            this.cbStoreEditTab.Text = "Edit windows remember selected tabs";
+            this.cbStoreEditTab.UseVisualStyleBackColor = true;
+            // 
+            // locatetexturegroup
+            // 
+            this.locatetexturegroup.AutoSize = true;
+            this.locatetexturegroup.Location = new System.Drawing.Point(16, 277);
+            this.locatetexturegroup.Name = "locatetexturegroup";
+            this.locatetexturegroup.Size = new System.Drawing.Size(267, 17);
+            this.locatetexturegroup.TabIndex = 8;
+            this.locatetexturegroup.Text = "Select texture group when opening image browsers";
+            this.toolTip1.SetToolTip(this.locatetexturegroup, "When enabled, the group current texture belongs to\r\nwill be selected when opening" +
+        " image browsers.\r\nWhen disabled, \"All\" texture group will be selected.");
+            this.locatetexturegroup.UseVisualStyleBackColor = true;
+            // 
+            // recentFiles
+            // 
+            this.recentFiles.BackColor = System.Drawing.SystemColors.Window;
+            this.recentFiles.LargeChange = 1;
+            this.recentFiles.Location = new System.Drawing.Point(127, 156);
+            this.recentFiles.Maximum = 25;
+            this.recentFiles.Minimum = 8;
+            this.recentFiles.Name = "recentFiles";
+            this.recentFiles.Size = new System.Drawing.Size(116, 42);
+            this.recentFiles.TabIndex = 5;
+            this.recentFiles.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.recentFiles.Value = 8;
+            this.recentFiles.ValueChanged += new System.EventHandler(this.recentFiles_ValueChanged);
+            // 
+            // labelRecentFiles
+            // 
+            this.labelRecentFiles.AutoSize = true;
+            this.labelRecentFiles.Location = new System.Drawing.Point(249, 168);
+            this.labelRecentFiles.Name = "labelRecentFiles";
+            this.labelRecentFiles.Size = new System.Drawing.Size(13, 13);
+            this.labelRecentFiles.TabIndex = 48;
+            this.labelRecentFiles.Text = "8";
+            // 
+            // label25
+            // 
+            this.label25.AutoSize = true;
+            this.label25.Location = new System.Drawing.Point(31, 169);
+            this.label25.Name = "label25";
+            this.label25.Size = new System.Drawing.Size(87, 13);
+            this.label25.TabIndex = 47;
+            this.label25.Text = "Max. recent files:";
+            this.toolTip1.SetToolTip(this.label25, "Controls how many recent files \r\nare shown in the \"File\" menu.");
+            // 
+            // vertexScaleLabel
+            // 
+            this.vertexScaleLabel.AutoSize = true;
+            this.vertexScaleLabel.Location = new System.Drawing.Point(249, 131);
+            this.vertexScaleLabel.Name = "vertexScaleLabel";
+            this.vertexScaleLabel.Size = new System.Drawing.Size(74, 13);
+            this.vertexScaleLabel.TabIndex = 45;
+            this.vertexScaleLabel.Text = "100% (default)";
+            // 
+            // label22
+            // 
+            this.label22.AutoSize = true;
+            this.label22.Location = new System.Drawing.Point(26, 131);
+            this.label22.Name = "label22";
+            this.label22.Size = new System.Drawing.Size(91, 13);
+            this.label22.TabIndex = 44;
+            this.label22.Text = "Vertex scale (2D):";
+            this.toolTip1.SetToolTip(this.label22, "Sets the size of vertex handles\r\nin 2D modes");
+            // 
+            // vertexScale
+            // 
+            this.vertexScale.BackColor = System.Drawing.SystemColors.Window;
+            this.vertexScale.LargeChange = 1;
+            this.vertexScale.Location = new System.Drawing.Point(127, 119);
+            this.vertexScale.Minimum = 1;
+            this.vertexScale.Name = "vertexScale";
+            this.vertexScale.Size = new System.Drawing.Size(116, 42);
+            this.vertexScale.TabIndex = 4;
+            this.vertexScale.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.vertexScale.Value = 1;
+            this.vertexScale.ValueChanged += new System.EventHandler(this.vertexScale_ValueChanged);
+            // 
+            // cbSynchCameras
+            // 
+            this.cbSynchCameras.AutoSize = true;
+            this.cbSynchCameras.Location = new System.Drawing.Point(16, 323);
+            this.cbSynchCameras.Name = "cbSynchCameras";
+            this.cbSynchCameras.Size = new System.Drawing.Size(294, 17);
+            this.cbSynchCameras.TabIndex = 12;
+            this.cbSynchCameras.Text = "Synchronize camera position between 2D and 3D modes";
+            this.cbSynchCameras.UseVisualStyleBackColor = true;
+            // 
+            // showtexturesizes
+            // 
+            this.showtexturesizes.AutoSize = true;
+            this.showtexturesizes.Location = new System.Drawing.Point(16, 231);
+            this.showtexturesizes.Name = "showtexturesizes";
+            this.showtexturesizes.Size = new System.Drawing.Size(208, 17);
+            this.showtexturesizes.TabIndex = 7;
+            this.showtexturesizes.Text = "Show texture and flat sizes in browsers";
+            this.showtexturesizes.UseVisualStyleBackColor = true;
+            // 
+            // scriptontop
+            // 
+            this.scriptontop.AutoSize = true;
+            this.scriptontop.Location = new System.Drawing.Point(16, 208);
+            this.scriptontop.Name = "scriptontop";
+            this.scriptontop.Size = new System.Drawing.Size(227, 17);
+            this.scriptontop.TabIndex = 6;
+            this.scriptontop.Text = "Script Editor always on top of main window";
+            this.scriptontop.UseVisualStyleBackColor = true;
+            // 
+            // zoomfactor
+            // 
+            this.zoomfactor.BackColor = System.Drawing.SystemColors.Window;
+            this.zoomfactor.LargeChange = 1;
+            this.zoomfactor.Location = new System.Drawing.Point(127, 82);
+            this.zoomfactor.Minimum = 1;
+            this.zoomfactor.Name = "zoomfactor";
+            this.zoomfactor.Size = new System.Drawing.Size(116, 42);
+            this.zoomfactor.TabIndex = 3;
+            this.zoomfactor.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.zoomfactor.Value = 3;
+            this.zoomfactor.ValueChanged += new System.EventHandler(this.zoomfactor_ValueChanged);
+            // 
+            // zoomfactorlabel
+            // 
+            this.zoomfactorlabel.AutoSize = true;
+            this.zoomfactorlabel.Location = new System.Drawing.Point(249, 94);
+            this.zoomfactorlabel.Name = "zoomfactorlabel";
+            this.zoomfactorlabel.Size = new System.Drawing.Size(27, 13);
+            this.zoomfactorlabel.TabIndex = 39;
+            this.zoomfactorlabel.Text = "30%";
+            // 
+            // label19
+            // 
+            this.label19.AutoSize = true;
+            this.label19.Location = new System.Drawing.Point(52, 94);
+            this.label19.Name = "label19";
+            this.label19.Size = new System.Drawing.Size(67, 13);
+            this.label19.TabIndex = 38;
+            this.label19.Text = "Zoom factor:";
+            // 
+            // autoscrollspeed
+            // 
+            this.autoscrollspeed.BackColor = System.Drawing.SystemColors.Window;
+            this.autoscrollspeed.LargeChange = 1;
+            this.autoscrollspeed.Location = new System.Drawing.Point(127, 45);
+            this.autoscrollspeed.Maximum = 5;
+            this.autoscrollspeed.Name = "autoscrollspeed";
+            this.autoscrollspeed.Size = new System.Drawing.Size(116, 42);
+            this.autoscrollspeed.TabIndex = 2;
+            this.autoscrollspeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.autoscrollspeed.ValueChanged += new System.EventHandler(this.autoscrollspeed_ValueChanged);
+            // 
+            // autoscrollspeedlabel
+            // 
+            this.autoscrollspeedlabel.AutoSize = true;
+            this.autoscrollspeedlabel.Location = new System.Drawing.Point(249, 57);
+            this.autoscrollspeedlabel.Name = "autoscrollspeedlabel";
+            this.autoscrollspeedlabel.Size = new System.Drawing.Size(21, 13);
+            this.autoscrollspeedlabel.TabIndex = 36;
+            this.autoscrollspeedlabel.Text = "Off";
+            // 
+            // label15
+            // 
+            this.label15.AutoSize = true;
+            this.label15.Location = new System.Drawing.Point(26, 57);
+            this.label15.Name = "label15";
+            this.label15.Size = new System.Drawing.Size(91, 13);
+            this.label15.TabIndex = 35;
+            this.label15.Text = "Auto-scroll speed:";
+            // 
+            // label14
+            // 
+            this.label14.AutoSize = true;
+            this.label14.Location = new System.Drawing.Point(50, 20);
+            this.label14.Name = "label14";
+            this.label14.Size = new System.Drawing.Size(69, 13);
+            this.label14.TabIndex = 14;
+            this.label14.Text = "Default view:";
+            // 
+            // defaultviewmode
+            // 
+            this.defaultviewmode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.defaultviewmode.FormattingEnabled = true;
+            this.defaultviewmode.Items.AddRange(new object[] {
             "Wireframe",
             "Brightness Levels",
             "Floor Textures",
             "Ceiling Textures"});
-			this.defaultviewmode.Location = new System.Drawing.Point(135, 17);
-			this.defaultviewmode.Name = "defaultviewmode";
-			this.defaultviewmode.Size = new System.Drawing.Size(145, 21);
-			this.defaultviewmode.TabIndex = 0;
-			// 
-			// label1
-			// 
-			label1.AutoSize = true;
-			label1.Location = new System.Drawing.Point(44, 203);
-			label1.Name = "label1";
-			label1.Size = new System.Drawing.Size(145, 13);
-			label1.TabIndex = 20;
-			label1.Text = "Textures and flats brightness:";
-			label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			// 
-			// label18
-			// 
-			label18.AutoSize = true;
-			label18.Location = new System.Drawing.Point(80, 248);
-			label18.Name = "label18";
-			label18.Size = new System.Drawing.Size(108, 13);
-			label18.TabIndex = 25;
-			label18.Text = "Dynamic lights count:";
-			label18.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			this.toolTip1.SetToolTip(label18, "Controls how many dynamic lights could be \r\nrendered simultaneously in Visual mod" +
-					"e ");
-			// 
-			// label27
-			// 
-			label27.AutoSize = true;
-			label27.Location = new System.Drawing.Point(90, 293);
-			label27.Name = "label27";
-			label27.Size = new System.Drawing.Size(98, 13);
-			label27.TabIndex = 35;
-			label27.Text = "Anisotropic filtering:";
-			label27.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			// 
-			// label29
-			// 
-			label29.AutoSize = true;
-			label29.Location = new System.Drawing.Point(95, 338);
-			label29.Name = "label29";
-			label29.Size = new System.Drawing.Size(93, 13);
-			label29.TabIndex = 38;
-			label29.Text = "Edge anti-aliasing:";
-			label29.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			// 
-			// keyusedlabel
-			// 
-			this.keyusedlabel.AutoSize = true;
-			this.keyusedlabel.Location = new System.Drawing.Point(20, 287);
-			this.keyusedlabel.Name = "keyusedlabel";
-			this.keyusedlabel.Size = new System.Drawing.Size(216, 13);
-			this.keyusedlabel.TabIndex = 10;
-			this.keyusedlabel.Text = "Key combination also used by these actions:";
-			this.keyusedlabel.Visible = false;
-			// 
-			// colorsgroup1
-			// 
-			this.colorsgroup1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)));
-			this.colorsgroup1.Controls.Add(this.colorguidelines);
-			this.colorsgroup1.Controls.Add(this.color3dFloors);
-			this.colorsgroup1.Controls.Add(this.colorInfo);
-			this.colorsgroup1.Controls.Add(this.colorMD3);
-			this.colorsgroup1.Controls.Add(this.colorgrid64);
-			this.colorsgroup1.Controls.Add(this.colorgrid);
-			this.colorsgroup1.Controls.Add(this.colorindication);
-			this.colorsgroup1.Controls.Add(this.colorbackcolor);
-			this.colorsgroup1.Controls.Add(this.colorselection);
-			this.colorsgroup1.Controls.Add(this.colorvertices);
-			this.colorsgroup1.Controls.Add(this.colorhighlight);
-			this.colorsgroup1.Controls.Add(this.colorlinedefs);
-			this.colorsgroup1.Location = new System.Drawing.Point(8, 8);
-			this.colorsgroup1.Name = "colorsgroup1";
-			this.colorsgroup1.Size = new System.Drawing.Size(203, 493);
-			this.colorsgroup1.TabIndex = 0;
-			this.colorsgroup1.TabStop = false;
-			this.colorsgroup1.Text = " Colors ";
-			this.colorsgroup1.Visible = false;
-			// 
-			// colorguidelines
-			// 
-			this.colorguidelines.BackColor = System.Drawing.Color.Transparent;
-			this.colorguidelines.Label = "Guidelines:";
-			this.colorguidelines.Location = new System.Drawing.Point(15, 307);
-			this.colorguidelines.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorguidelines.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorguidelines.Name = "colorguidelines";
-			this.colorguidelines.Size = new System.Drawing.Size(168, 23);
-			this.colorguidelines.TabIndex = 11;
-			// 
-			// color3dFloors
-			// 
-			this.color3dFloors.BackColor = System.Drawing.Color.Transparent;
-			this.color3dFloors.Label = "3D Floors:";
-			this.color3dFloors.Location = new System.Drawing.Point(15, 336);
-			this.color3dFloors.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.color3dFloors.MinimumSize = new System.Drawing.Size(100, 23);
-			this.color3dFloors.Name = "color3dFloors";
-			this.color3dFloors.Size = new System.Drawing.Size(168, 23);
-			this.color3dFloors.TabIndex = 10;
-			// 
-			// colorInfo
-			// 
-			this.colorInfo.BackColor = System.Drawing.Color.Transparent;
-			this.colorInfo.Label = "Event lines:";
-			this.colorInfo.Location = new System.Drawing.Point(15, 278);
-			this.colorInfo.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorInfo.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorInfo.Name = "colorInfo";
-			this.colorInfo.Size = new System.Drawing.Size(168, 23);
-			this.colorInfo.TabIndex = 9;
-			// 
-			// colorMD3
-			// 
-			this.colorMD3.BackColor = System.Drawing.Color.Transparent;
-			this.colorMD3.Label = "Model wireframe:";
-			this.colorMD3.Location = new System.Drawing.Point(15, 249);
-			this.colorMD3.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorMD3.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorMD3.Name = "colorMD3";
-			this.colorMD3.Size = new System.Drawing.Size(168, 23);
-			this.colorMD3.TabIndex = 8;
-			// 
-			// colorgrid64
-			// 
-			this.colorgrid64.BackColor = System.Drawing.Color.Transparent;
-			this.colorgrid64.Label = "64 Block grid:";
-			this.colorgrid64.Location = new System.Drawing.Point(15, 220);
-			this.colorgrid64.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorgrid64.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorgrid64.Name = "colorgrid64";
-			this.colorgrid64.Size = new System.Drawing.Size(168, 23);
-			this.colorgrid64.TabIndex = 7;
-			// 
-			// colorgrid
-			// 
-			this.colorgrid.BackColor = System.Drawing.Color.Transparent;
-			this.colorgrid.Label = "Custom grid:";
-			this.colorgrid.Location = new System.Drawing.Point(15, 191);
-			this.colorgrid.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorgrid.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorgrid.Name = "colorgrid";
-			this.colorgrid.Size = new System.Drawing.Size(168, 23);
-			this.colorgrid.TabIndex = 6;
-			// 
-			// colorindication
-			// 
-			this.colorindication.BackColor = System.Drawing.Color.Transparent;
-			this.colorindication.Label = "Indications:";
-			this.colorindication.Location = new System.Drawing.Point(15, 162);
-			this.colorindication.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorindication.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorindication.Name = "colorindication";
-			this.colorindication.Size = new System.Drawing.Size(168, 23);
-			this.colorindication.TabIndex = 5;
-			// 
-			// colorbackcolor
-			// 
-			this.colorbackcolor.BackColor = System.Drawing.Color.Transparent;
-			this.colorbackcolor.Label = "Background:";
-			this.colorbackcolor.Location = new System.Drawing.Point(15, 17);
-			this.colorbackcolor.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorbackcolor.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorbackcolor.Name = "colorbackcolor";
-			this.colorbackcolor.Size = new System.Drawing.Size(168, 23);
-			this.colorbackcolor.TabIndex = 0;
-			// 
-			// colorselection
-			// 
-			this.colorselection.BackColor = System.Drawing.Color.Transparent;
-			this.colorselection.Label = "Selection:";
-			this.colorselection.Location = new System.Drawing.Point(15, 133);
-			this.colorselection.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorselection.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorselection.Name = "colorselection";
-			this.colorselection.Size = new System.Drawing.Size(168, 23);
-			this.colorselection.TabIndex = 4;
-			// 
-			// colorvertices
-			// 
-			this.colorvertices.BackColor = System.Drawing.Color.Transparent;
-			this.colorvertices.Label = "Vertices:";
-			this.colorvertices.Location = new System.Drawing.Point(15, 46);
-			this.colorvertices.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorvertices.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorvertices.Name = "colorvertices";
-			this.colorvertices.Size = new System.Drawing.Size(168, 23);
-			this.colorvertices.TabIndex = 1;
-			// 
-			// colorhighlight
-			// 
-			this.colorhighlight.BackColor = System.Drawing.Color.Transparent;
-			this.colorhighlight.Label = "Highlight:";
-			this.colorhighlight.Location = new System.Drawing.Point(15, 104);
-			this.colorhighlight.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorhighlight.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorhighlight.Name = "colorhighlight";
-			this.colorhighlight.Size = new System.Drawing.Size(168, 23);
-			this.colorhighlight.TabIndex = 3;
-			// 
-			// colorlinedefs
-			// 
-			this.colorlinedefs.BackColor = System.Drawing.Color.Transparent;
-			this.colorlinedefs.Label = "Common lines:";
-			this.colorlinedefs.Location = new System.Drawing.Point(15, 75);
-			this.colorlinedefs.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorlinedefs.MinimumSize = new System.Drawing.Size(100, 23);
-			this.colorlinedefs.Name = "colorlinedefs";
-			this.colorlinedefs.Size = new System.Drawing.Size(168, 23);
-			this.colorlinedefs.TabIndex = 2;
-			// 
-			// doublesidedalpha
-			// 
-			this.doublesidedalpha.BackColor = System.Drawing.SystemColors.Window;
-			this.doublesidedalpha.LargeChange = 3;
-			this.doublesidedalpha.Location = new System.Drawing.Point(199, 12);
-			this.doublesidedalpha.Name = "doublesidedalpha";
-			this.doublesidedalpha.Size = new System.Drawing.Size(154, 45);
-			this.doublesidedalpha.TabIndex = 0;
-			this.doublesidedalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.doublesidedalpha.ValueChanged += new System.EventHandler(this.doublesidedalpha_ValueChanged);
-			// 
-			// label2
-			// 
-			this.label2.AutoSize = true;
-			this.label2.Location = new System.Drawing.Point(47, 23);
-			this.label2.Name = "label2";
-			this.label2.Size = new System.Drawing.Size(141, 13);
-			this.label2.TabIndex = 14;
-			this.label2.Text = "Passable lines transparency:";
-			this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			// 
-			// doublesidedalphalabel
-			// 
-			this.doublesidedalphalabel.AutoSize = true;
-			this.doublesidedalphalabel.Location = new System.Drawing.Point(359, 23);
-			this.doublesidedalphalabel.Name = "doublesidedalphalabel";
-			this.doublesidedalphalabel.Size = new System.Drawing.Size(21, 13);
-			this.doublesidedalphalabel.TabIndex = 16;
-			this.doublesidedalphalabel.Text = "0%";
-			// 
-			// cbStretchView
-			// 
-			this.cbStretchView.AutoSize = true;
-			this.cbStretchView.Location = new System.Drawing.Point(229, 397);
-			this.cbStretchView.Name = "cbStretchView";
-			this.cbStretchView.Size = new System.Drawing.Size(172, 17);
-			this.cbStretchView.TabIndex = 13;
-			this.cbStretchView.Text = "Stretched view in visual modes";
-			this.toolTip1.SetToolTip(this.cbStretchView, "When enabled, visual mode will emulate \r\n(G)ZDoom\'s way of rendering by increasin" +
-					"g\r\nvertical scale of the world geometry and \r\nsprites by 15%.\r\n");
-			this.cbStretchView.UseVisualStyleBackColor = true;
-			// 
-			// qualitydisplay
-			// 
-			this.qualitydisplay.AutoSize = true;
-			this.qualitydisplay.Location = new System.Drawing.Point(18, 397);
-			this.qualitydisplay.Name = "qualitydisplay";
-			this.qualitydisplay.Size = new System.Drawing.Size(128, 17);
-			this.qualitydisplay.TabIndex = 10;
-			this.qualitydisplay.Text = "High quality rendering";
-			this.qualitydisplay.UseVisualStyleBackColor = true;
-			// 
-			// cancel
-			// 
-			this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-			this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
-			this.cancel.Location = new System.Drawing.Point(587, 557);
-			this.cancel.Name = "cancel";
-			this.cancel.Size = new System.Drawing.Size(112, 25);
-			this.cancel.TabIndex = 1;
-			this.cancel.Text = "Cancel";
-			this.cancel.UseVisualStyleBackColor = true;
-			this.cancel.Click += new System.EventHandler(this.cancel_Click);
-			// 
-			// apply
-			// 
-			this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-			this.apply.Location = new System.Drawing.Point(469, 557);
-			this.apply.Name = "apply";
-			this.apply.Size = new System.Drawing.Size(112, 25);
-			this.apply.TabIndex = 0;
-			this.apply.Text = "OK";
-			this.apply.UseVisualStyleBackColor = true;
-			this.apply.Click += new System.EventHandler(this.apply_Click);
-			// 
-			// tabs
-			// 
-			this.tabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.tabs.Controls.Add(this.tabinterface);
-			this.tabs.Controls.Add(this.tabkeys);
-			this.tabs.Controls.Add(this.tabcolors);
-			this.tabs.Controls.Add(this.tabscripteditor);
-			this.tabs.Controls.Add(this.tabpasting);
-			this.tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabs.Location = new System.Drawing.Point(11, 13);
-			this.tabs.Name = "tabs";
-			this.tabs.Padding = new System.Drawing.Point(24, 3);
-			this.tabs.SelectedIndex = 0;
-			this.tabs.Size = new System.Drawing.Size(690, 536);
-			this.tabs.TabIndex = 0;
-			this.tabs.SelectedIndexChanged += new System.EventHandler(this.tabs_SelectedIndexChanged);
-			// 
-			// tabinterface
-			// 
-			this.tabinterface.Controls.Add(this.groupBox11);
-			this.tabinterface.Controls.Add(this.groupBox3);
-			this.tabinterface.Controls.Add(this.groupBox5);
-			this.tabinterface.Controls.Add(this.groupBox4);
-			this.tabinterface.Controls.Add(this.groupBox2);
-			this.tabinterface.Controls.Add(groupBox1);
-			this.tabinterface.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabinterface.Location = new System.Drawing.Point(4, 22);
-			this.tabinterface.Name = "tabinterface";
-			this.tabinterface.Padding = new System.Windows.Forms.Padding(5);
-			this.tabinterface.Size = new System.Drawing.Size(682, 510);
-			this.tabinterface.TabIndex = 0;
-			this.tabinterface.Text = "Interface";
-			this.tabinterface.UseVisualStyleBackColor = true;
-			// 
-			// groupBox11
-			// 
-			this.groupBox11.Controls.Add(this.label28);
-			this.groupBox11.Controls.Add(this.textlabelfontname);
-			this.groupBox11.Controls.Add(this.textlabelfontbold);
-			this.groupBox11.Controls.Add(this.label33);
-			this.groupBox11.Controls.Add(this.textlabelfontsize);
-			this.groupBox11.Location = new System.Drawing.Point(345, 387);
-			this.groupBox11.Name = "groupBox11";
-			this.groupBox11.Size = new System.Drawing.Size(331, 59);
-			this.groupBox11.TabIndex = 5;
-			this.groupBox11.TabStop = false;
-			this.groupBox11.Text = " Text Labels ";
-			// 
-			// label28
-			// 
-			this.label28.AutoSize = true;
-			this.label28.Location = new System.Drawing.Point(16, 28);
-			this.label28.Name = "label28";
-			this.label28.Size = new System.Drawing.Size(31, 13);
-			this.label28.TabIndex = 32;
-			this.label28.Text = "Font:";
-			// 
-			// textlabelfontname
-			// 
-			this.textlabelfontname.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.textlabelfontname.FormattingEnabled = true;
-			this.textlabelfontname.Location = new System.Drawing.Point(53, 24);
-			this.textlabelfontname.Name = "textlabelfontname";
-			this.textlabelfontname.Size = new System.Drawing.Size(132, 21);
-			this.textlabelfontname.Sorted = true;
-			this.textlabelfontname.TabIndex = 29;
-			// 
-			// textlabelfontbold
-			// 
-			this.textlabelfontbold.AutoSize = true;
-			this.textlabelfontbold.Location = new System.Drawing.Point(279, 27);
-			this.textlabelfontbold.Name = "textlabelfontbold";
-			this.textlabelfontbold.Size = new System.Drawing.Size(47, 17);
-			this.textlabelfontbold.TabIndex = 31;
-			this.textlabelfontbold.Text = "Bold";
-			this.textlabelfontbold.UseVisualStyleBackColor = true;
-			// 
-			// label33
-			// 
-			this.label33.AutoSize = true;
-			this.label33.Location = new System.Drawing.Point(191, 28);
-			this.label33.Name = "label33";
-			this.label33.Size = new System.Drawing.Size(30, 13);
-			this.label33.TabIndex = 33;
-			this.label33.Text = "Size:";
-			// 
-			// textlabelfontsize
-			// 
-			this.textlabelfontsize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.textlabelfontsize.FormattingEnabled = true;
-			this.textlabelfontsize.Items.AddRange(new object[] {
+            this.defaultviewmode.Location = new System.Drawing.Point(135, 17);
+            this.defaultviewmode.Name = "defaultviewmode";
+            this.defaultviewmode.Size = new System.Drawing.Size(145, 21);
+            this.defaultviewmode.TabIndex = 0;
+            // 
+            // label1
+            // 
+            label1.AutoSize = true;
+            label1.Location = new System.Drawing.Point(44, 203);
+            label1.Name = "label1";
+            label1.Size = new System.Drawing.Size(145, 13);
+            label1.TabIndex = 20;
+            label1.Text = "Textures and flats brightness:";
+            label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            // 
+            // label18
+            // 
+            label18.AutoSize = true;
+            label18.Location = new System.Drawing.Point(80, 248);
+            label18.Name = "label18";
+            label18.Size = new System.Drawing.Size(108, 13);
+            label18.TabIndex = 25;
+            label18.Text = "Dynamic lights count:";
+            label18.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            this.toolTip1.SetToolTip(label18, "Controls how many dynamic lights could be \r\nrendered simultaneously in Visual mod" +
+        "e ");
+            // 
+            // label27
+            // 
+            label27.AutoSize = true;
+            label27.Location = new System.Drawing.Point(90, 293);
+            label27.Name = "label27";
+            label27.Size = new System.Drawing.Size(98, 13);
+            label27.TabIndex = 35;
+            label27.Text = "Anisotropic filtering:";
+            label27.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            // 
+            // label29
+            // 
+            label29.AutoSize = true;
+            label29.Location = new System.Drawing.Point(95, 338);
+            label29.Name = "label29";
+            label29.Size = new System.Drawing.Size(93, 13);
+            label29.TabIndex = 38;
+            label29.Text = "Edge anti-aliasing:";
+            label29.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            // 
+            // keyusedlabel
+            // 
+            this.keyusedlabel.AutoSize = true;
+            this.keyusedlabel.Location = new System.Drawing.Point(20, 287);
+            this.keyusedlabel.Name = "keyusedlabel";
+            this.keyusedlabel.Size = new System.Drawing.Size(216, 13);
+            this.keyusedlabel.TabIndex = 10;
+            this.keyusedlabel.Text = "Key combination also used by these actions:";
+            this.keyusedlabel.Visible = false;
+            // 
+            // colorsgroup1
+            // 
+            this.colorsgroup1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left)));
+            this.colorsgroup1.Controls.Add(this.colorguidelines);
+            this.colorsgroup1.Controls.Add(this.color3dFloors);
+            this.colorsgroup1.Controls.Add(this.colorInfo);
+            this.colorsgroup1.Controls.Add(this.colorMD3);
+            this.colorsgroup1.Controls.Add(this.colorgrid64);
+            this.colorsgroup1.Controls.Add(this.colorgrid);
+            this.colorsgroup1.Controls.Add(this.colorindication);
+            this.colorsgroup1.Controls.Add(this.colorbackcolor);
+            this.colorsgroup1.Controls.Add(this.colorselection);
+            this.colorsgroup1.Controls.Add(this.colorvertices);
+            this.colorsgroup1.Controls.Add(this.colorhighlight);
+            this.colorsgroup1.Controls.Add(this.colorlinedefs);
+            this.colorsgroup1.Location = new System.Drawing.Point(8, 8);
+            this.colorsgroup1.Name = "colorsgroup1";
+            this.colorsgroup1.Size = new System.Drawing.Size(203, 493);
+            this.colorsgroup1.TabIndex = 0;
+            this.colorsgroup1.TabStop = false;
+            this.colorsgroup1.Text = " Colors ";
+            this.colorsgroup1.Visible = false;
+            // 
+            // colorguidelines
+            // 
+            this.colorguidelines.BackColor = System.Drawing.Color.Transparent;
+            this.colorguidelines.Label = "Guidelines:";
+            this.colorguidelines.Location = new System.Drawing.Point(15, 307);
+            this.colorguidelines.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorguidelines.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorguidelines.Name = "colorguidelines";
+            this.colorguidelines.Size = new System.Drawing.Size(168, 23);
+            this.colorguidelines.TabIndex = 11;
+            // 
+            // color3dFloors
+            // 
+            this.color3dFloors.BackColor = System.Drawing.Color.Transparent;
+            this.color3dFloors.Label = "3D Floors:";
+            this.color3dFloors.Location = new System.Drawing.Point(15, 336);
+            this.color3dFloors.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.color3dFloors.MinimumSize = new System.Drawing.Size(100, 23);
+            this.color3dFloors.Name = "color3dFloors";
+            this.color3dFloors.Size = new System.Drawing.Size(168, 23);
+            this.color3dFloors.TabIndex = 10;
+            // 
+            // colorInfo
+            // 
+            this.colorInfo.BackColor = System.Drawing.Color.Transparent;
+            this.colorInfo.Label = "Event lines:";
+            this.colorInfo.Location = new System.Drawing.Point(15, 278);
+            this.colorInfo.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorInfo.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorInfo.Name = "colorInfo";
+            this.colorInfo.Size = new System.Drawing.Size(168, 23);
+            this.colorInfo.TabIndex = 9;
+            // 
+            // colorMD3
+            // 
+            this.colorMD3.BackColor = System.Drawing.Color.Transparent;
+            this.colorMD3.Label = "Model wireframe:";
+            this.colorMD3.Location = new System.Drawing.Point(15, 249);
+            this.colorMD3.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorMD3.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorMD3.Name = "colorMD3";
+            this.colorMD3.Size = new System.Drawing.Size(168, 23);
+            this.colorMD3.TabIndex = 8;
+            // 
+            // colorgrid64
+            // 
+            this.colorgrid64.BackColor = System.Drawing.Color.Transparent;
+            this.colorgrid64.Label = "64 Block grid:";
+            this.colorgrid64.Location = new System.Drawing.Point(15, 220);
+            this.colorgrid64.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorgrid64.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorgrid64.Name = "colorgrid64";
+            this.colorgrid64.Size = new System.Drawing.Size(168, 23);
+            this.colorgrid64.TabIndex = 7;
+            // 
+            // colorgrid
+            // 
+            this.colorgrid.BackColor = System.Drawing.Color.Transparent;
+            this.colorgrid.Label = "Custom grid:";
+            this.colorgrid.Location = new System.Drawing.Point(15, 191);
+            this.colorgrid.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorgrid.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorgrid.Name = "colorgrid";
+            this.colorgrid.Size = new System.Drawing.Size(168, 23);
+            this.colorgrid.TabIndex = 6;
+            // 
+            // colorindication
+            // 
+            this.colorindication.BackColor = System.Drawing.Color.Transparent;
+            this.colorindication.Label = "Indications:";
+            this.colorindication.Location = new System.Drawing.Point(15, 162);
+            this.colorindication.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorindication.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorindication.Name = "colorindication";
+            this.colorindication.Size = new System.Drawing.Size(168, 23);
+            this.colorindication.TabIndex = 5;
+            // 
+            // colorbackcolor
+            // 
+            this.colorbackcolor.BackColor = System.Drawing.Color.Transparent;
+            this.colorbackcolor.Label = "Background:";
+            this.colorbackcolor.Location = new System.Drawing.Point(15, 17);
+            this.colorbackcolor.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorbackcolor.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorbackcolor.Name = "colorbackcolor";
+            this.colorbackcolor.Size = new System.Drawing.Size(168, 23);
+            this.colorbackcolor.TabIndex = 0;
+            // 
+            // colorselection
+            // 
+            this.colorselection.BackColor = System.Drawing.Color.Transparent;
+            this.colorselection.Label = "Selection:";
+            this.colorselection.Location = new System.Drawing.Point(15, 133);
+            this.colorselection.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorselection.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorselection.Name = "colorselection";
+            this.colorselection.Size = new System.Drawing.Size(168, 23);
+            this.colorselection.TabIndex = 4;
+            // 
+            // colorvertices
+            // 
+            this.colorvertices.BackColor = System.Drawing.Color.Transparent;
+            this.colorvertices.Label = "Vertices:";
+            this.colorvertices.Location = new System.Drawing.Point(15, 46);
+            this.colorvertices.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorvertices.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorvertices.Name = "colorvertices";
+            this.colorvertices.Size = new System.Drawing.Size(168, 23);
+            this.colorvertices.TabIndex = 1;
+            // 
+            // colorhighlight
+            // 
+            this.colorhighlight.BackColor = System.Drawing.Color.Transparent;
+            this.colorhighlight.Label = "Highlight:";
+            this.colorhighlight.Location = new System.Drawing.Point(15, 104);
+            this.colorhighlight.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorhighlight.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorhighlight.Name = "colorhighlight";
+            this.colorhighlight.Size = new System.Drawing.Size(168, 23);
+            this.colorhighlight.TabIndex = 3;
+            // 
+            // colorlinedefs
+            // 
+            this.colorlinedefs.BackColor = System.Drawing.Color.Transparent;
+            this.colorlinedefs.Label = "Common lines:";
+            this.colorlinedefs.Location = new System.Drawing.Point(15, 75);
+            this.colorlinedefs.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorlinedefs.MinimumSize = new System.Drawing.Size(100, 23);
+            this.colorlinedefs.Name = "colorlinedefs";
+            this.colorlinedefs.Size = new System.Drawing.Size(168, 23);
+            this.colorlinedefs.TabIndex = 2;
+            // 
+            // doublesidedalpha
+            // 
+            this.doublesidedalpha.BackColor = System.Drawing.SystemColors.Window;
+            this.doublesidedalpha.LargeChange = 3;
+            this.doublesidedalpha.Location = new System.Drawing.Point(199, 12);
+            this.doublesidedalpha.Name = "doublesidedalpha";
+            this.doublesidedalpha.Size = new System.Drawing.Size(154, 42);
+            this.doublesidedalpha.TabIndex = 0;
+            this.doublesidedalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.doublesidedalpha.ValueChanged += new System.EventHandler(this.doublesidedalpha_ValueChanged);
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Location = new System.Drawing.Point(47, 23);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(141, 13);
+            this.label2.TabIndex = 14;
+            this.label2.Text = "Passable lines transparency:";
+            this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            // 
+            // doublesidedalphalabel
+            // 
+            this.doublesidedalphalabel.AutoSize = true;
+            this.doublesidedalphalabel.Location = new System.Drawing.Point(359, 23);
+            this.doublesidedalphalabel.Name = "doublesidedalphalabel";
+            this.doublesidedalphalabel.Size = new System.Drawing.Size(21, 13);
+            this.doublesidedalphalabel.TabIndex = 16;
+            this.doublesidedalphalabel.Text = "0%";
+            // 
+            // cbStretchView
+            // 
+            this.cbStretchView.AutoSize = true;
+            this.cbStretchView.Location = new System.Drawing.Point(229, 397);
+            this.cbStretchView.Name = "cbStretchView";
+            this.cbStretchView.Size = new System.Drawing.Size(172, 17);
+            this.cbStretchView.TabIndex = 13;
+            this.cbStretchView.Text = "Stretched view in visual modes";
+            this.toolTip1.SetToolTip(this.cbStretchView, "When enabled, visual mode will emulate \r\n(G)ZDoom\'s way of rendering by increasin" +
+        "g\r\nvertical scale of the world geometry and \r\nsprites by 15%.\r\n");
+            this.cbStretchView.UseVisualStyleBackColor = true;
+            // 
+            // qualitydisplay
+            // 
+            this.qualitydisplay.AutoSize = true;
+            this.qualitydisplay.Location = new System.Drawing.Point(18, 397);
+            this.qualitydisplay.Name = "qualitydisplay";
+            this.qualitydisplay.Size = new System.Drawing.Size(128, 17);
+            this.qualitydisplay.TabIndex = 10;
+            this.qualitydisplay.Text = "High quality rendering";
+            this.qualitydisplay.UseVisualStyleBackColor = true;
+            // 
+            // cancel
+            // 
+            this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            this.cancel.Location = new System.Drawing.Point(587, 557);
+            this.cancel.Name = "cancel";
+            this.cancel.Size = new System.Drawing.Size(112, 25);
+            this.cancel.TabIndex = 1;
+            this.cancel.Text = "Cancel";
+            this.cancel.UseVisualStyleBackColor = true;
+            this.cancel.Click += new System.EventHandler(this.cancel_Click);
+            // 
+            // apply
+            // 
+            this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.apply.Location = new System.Drawing.Point(469, 557);
+            this.apply.Name = "apply";
+            this.apply.Size = new System.Drawing.Size(112, 25);
+            this.apply.TabIndex = 0;
+            this.apply.Text = "OK";
+            this.apply.UseVisualStyleBackColor = true;
+            this.apply.Click += new System.EventHandler(this.apply_Click);
+            // 
+            // tabs
+            // 
+            this.tabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.tabs.Controls.Add(this.tabinterface);
+            this.tabs.Controls.Add(this.tabkeys);
+            this.tabs.Controls.Add(this.tabcolors);
+            this.tabs.Controls.Add(this.tabscripteditor);
+            this.tabs.Controls.Add(this.tabpasting);
+            this.tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabs.Location = new System.Drawing.Point(11, 13);
+            this.tabs.Name = "tabs";
+            this.tabs.Padding = new System.Drawing.Point(24, 3);
+            this.tabs.SelectedIndex = 0;
+            this.tabs.Size = new System.Drawing.Size(690, 536);
+            this.tabs.TabIndex = 0;
+            this.tabs.SelectedIndexChanged += new System.EventHandler(this.tabs_SelectedIndexChanged);
+            // 
+            // tabinterface
+            // 
+            this.tabinterface.Controls.Add(this.groupBox11);
+            this.tabinterface.Controls.Add(this.groupBox3);
+            this.tabinterface.Controls.Add(this.groupBox5);
+            this.tabinterface.Controls.Add(this.groupBox4);
+            this.tabinterface.Controls.Add(this.groupBox2);
+            this.tabinterface.Controls.Add(groupBox1);
+            this.tabinterface.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabinterface.Location = new System.Drawing.Point(4, 22);
+            this.tabinterface.Name = "tabinterface";
+            this.tabinterface.Padding = new System.Windows.Forms.Padding(5);
+            this.tabinterface.Size = new System.Drawing.Size(682, 510);
+            this.tabinterface.TabIndex = 0;
+            this.tabinterface.Text = "Interface";
+            this.tabinterface.UseVisualStyleBackColor = true;
+            // 
+            // groupBox11
+            // 
+            this.groupBox11.Controls.Add(this.label28);
+            this.groupBox11.Controls.Add(this.textlabelfontname);
+            this.groupBox11.Controls.Add(this.textlabelfontbold);
+            this.groupBox11.Controls.Add(this.label33);
+            this.groupBox11.Controls.Add(this.textlabelfontsize);
+            this.groupBox11.Location = new System.Drawing.Point(345, 387);
+            this.groupBox11.Name = "groupBox11";
+            this.groupBox11.Size = new System.Drawing.Size(331, 59);
+            this.groupBox11.TabIndex = 5;
+            this.groupBox11.TabStop = false;
+            this.groupBox11.Text = " Text Labels ";
+            // 
+            // label28
+            // 
+            this.label28.AutoSize = true;
+            this.label28.Location = new System.Drawing.Point(16, 28);
+            this.label28.Name = "label28";
+            this.label28.Size = new System.Drawing.Size(31, 13);
+            this.label28.TabIndex = 32;
+            this.label28.Text = "Font:";
+            // 
+            // textlabelfontname
+            // 
+            this.textlabelfontname.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.textlabelfontname.FormattingEnabled = true;
+            this.textlabelfontname.Location = new System.Drawing.Point(53, 24);
+            this.textlabelfontname.Name = "textlabelfontname";
+            this.textlabelfontname.Size = new System.Drawing.Size(132, 21);
+            this.textlabelfontname.Sorted = true;
+            this.textlabelfontname.TabIndex = 29;
+            // 
+            // textlabelfontbold
+            // 
+            this.textlabelfontbold.AutoSize = true;
+            this.textlabelfontbold.Location = new System.Drawing.Point(279, 27);
+            this.textlabelfontbold.Name = "textlabelfontbold";
+            this.textlabelfontbold.Size = new System.Drawing.Size(47, 17);
+            this.textlabelfontbold.TabIndex = 31;
+            this.textlabelfontbold.Text = "Bold";
+            this.textlabelfontbold.UseVisualStyleBackColor = true;
+            // 
+            // label33
+            // 
+            this.label33.AutoSize = true;
+            this.label33.Location = new System.Drawing.Point(191, 28);
+            this.label33.Name = "label33";
+            this.label33.Size = new System.Drawing.Size(30, 13);
+            this.label33.TabIndex = 33;
+            this.label33.Text = "Size:";
+            // 
+            // textlabelfontsize
+            // 
+            this.textlabelfontsize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.textlabelfontsize.FormattingEnabled = true;
+            this.textlabelfontsize.Items.AddRange(new object[] {
             "7",
             "8",
             "9",
@@ -916,1090 +928,1090 @@ namespace CodeImp.DoomBuilder.Windows
             "28",
             "36",
             "48"});
-			this.textlabelfontsize.Location = new System.Drawing.Point(228, 24);
-			this.textlabelfontsize.Name = "textlabelfontsize";
-			this.textlabelfontsize.Size = new System.Drawing.Size(45, 21);
-			this.textlabelfontsize.TabIndex = 30;
-			// 
-			// groupBox3
-			// 
-			this.groupBox3.Controls.Add(this.resetscreenshotsdir);
-			this.groupBox3.Controls.Add(this.browsescreenshotsdir);
-			this.groupBox3.Controls.Add(this.screenshotsfolderpath);
-			this.groupBox3.Location = new System.Drawing.Point(345, 449);
-			this.groupBox3.Name = "groupBox3";
-			this.groupBox3.Size = new System.Drawing.Size(331, 48);
-			this.groupBox3.TabIndex = 4;
-			this.groupBox3.TabStop = false;
-			this.groupBox3.Text = " Screenshots Folder ";
-			// 
-			// resetscreenshotsdir
-			// 
-			this.resetscreenshotsdir.Image = global::CodeImp.DoomBuilder.Properties.Resources.Reset;
-			this.resetscreenshotsdir.Location = new System.Drawing.Point(301, 17);
-			this.resetscreenshotsdir.Name = "resetscreenshotsdir";
-			this.resetscreenshotsdir.Size = new System.Drawing.Size(24, 24);
-			this.resetscreenshotsdir.TabIndex = 2;
-			this.toolTip1.SetToolTip(this.resetscreenshotsdir, "Use Default Screenshots Folder");
-			this.resetscreenshotsdir.UseVisualStyleBackColor = true;
-			this.resetscreenshotsdir.Click += new System.EventHandler(this.resetscreenshotsdir_Click);
-			// 
-			// browsescreenshotsdir
-			// 
-			this.browsescreenshotsdir.Image = global::CodeImp.DoomBuilder.Properties.Resources.FolderExplore;
-			this.browsescreenshotsdir.Location = new System.Drawing.Point(275, 17);
-			this.browsescreenshotsdir.Name = "browsescreenshotsdir";
-			this.browsescreenshotsdir.Size = new System.Drawing.Size(24, 24);
-			this.browsescreenshotsdir.TabIndex = 1;
-			this.toolTip1.SetToolTip(this.browsescreenshotsdir, "Browse Screenshots Folder");
-			this.browsescreenshotsdir.UseVisualStyleBackColor = true;
-			this.browsescreenshotsdir.Click += new System.EventHandler(this.browsescreenshotsdir_Click);
-			// 
-			// screenshotsfolderpath
-			// 
-			this.screenshotsfolderpath.Location = new System.Drawing.Point(6, 19);
-			this.screenshotsfolderpath.Name = "screenshotsfolderpath";
-			this.screenshotsfolderpath.Size = new System.Drawing.Size(264, 20);
-			this.screenshotsfolderpath.TabIndex = 0;
-			// 
-			// groupBox5
-			// 
-			this.groupBox5.Controls.Add(this.toolbar_gzdoom);
-			this.groupBox5.Controls.Add(this.toolbar_file);
-			this.groupBox5.Controls.Add(this.toolbar_testing);
-			this.groupBox5.Controls.Add(this.toolbar_geometry);
-			this.groupBox5.Controls.Add(this.toolbar_viewmodes);
-			this.groupBox5.Controls.Add(this.toolbar_filter);
-			this.groupBox5.Controls.Add(this.toolbar_prefabs);
-			this.groupBox5.Controls.Add(this.toolbar_copy);
-			this.groupBox5.Controls.Add(this.toolbar_undo);
-			this.groupBox5.Controls.Add(this.toolbar_script);
-			this.groupBox5.Location = new System.Drawing.Point(345, 256);
-			this.groupBox5.Name = "groupBox5";
-			this.groupBox5.Size = new System.Drawing.Size(331, 125);
-			this.groupBox5.TabIndex = 3;
-			this.groupBox5.TabStop = false;
-			this.groupBox5.Text = " Toolbar Buttons ";
-			// 
-			// toolbar_gzdoom
-			// 
-			this.toolbar_gzdoom.AutoSize = true;
-			this.toolbar_gzdoom.Location = new System.Drawing.Point(160, 102);
-			this.toolbar_gzdoom.Name = "toolbar_gzdoom";
-			this.toolbar_gzdoom.Size = new System.Drawing.Size(75, 17);
-			this.toolbar_gzdoom.TabIndex = 9;
-			this.toolbar_gzdoom.Text = "Rendering";
-			this.toolbar_gzdoom.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_file
-			// 
-			this.toolbar_file.AutoSize = true;
-			this.toolbar_file.Location = new System.Drawing.Point(14, 22);
-			this.toolbar_file.Name = "toolbar_file";
-			this.toolbar_file.Size = new System.Drawing.Size(121, 17);
-			this.toolbar_file.TabIndex = 0;
-			this.toolbar_file.Text = "New / Open / Save";
-			this.toolbar_file.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_testing
-			// 
-			this.toolbar_testing.AutoSize = true;
-			this.toolbar_testing.Location = new System.Drawing.Point(160, 82);
-			this.toolbar_testing.Name = "toolbar_testing";
-			this.toolbar_testing.Size = new System.Drawing.Size(61, 17);
-			this.toolbar_testing.TabIndex = 8;
-			this.toolbar_testing.Text = "Testing";
-			this.toolbar_testing.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_geometry
-			// 
-			this.toolbar_geometry.AutoSize = true;
-			this.toolbar_geometry.Location = new System.Drawing.Point(160, 62);
-			this.toolbar_geometry.Name = "toolbar_geometry";
-			this.toolbar_geometry.Size = new System.Drawing.Size(92, 17);
-			this.toolbar_geometry.TabIndex = 7;
-			this.toolbar_geometry.Text = "Snap / Merge";
-			this.toolbar_geometry.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_viewmodes
-			// 
-			this.toolbar_viewmodes.AutoSize = true;
-			this.toolbar_viewmodes.Location = new System.Drawing.Point(160, 42);
-			this.toolbar_viewmodes.Name = "toolbar_viewmodes";
-			this.toolbar_viewmodes.Size = new System.Drawing.Size(84, 17);
-			this.toolbar_viewmodes.TabIndex = 6;
-			this.toolbar_viewmodes.Text = "View Modes";
-			this.toolbar_viewmodes.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_filter
-			// 
-			this.toolbar_filter.AutoSize = true;
-			this.toolbar_filter.Location = new System.Drawing.Point(160, 22);
-			this.toolbar_filter.Name = "toolbar_filter";
-			this.toolbar_filter.Size = new System.Drawing.Size(161, 17);
-			this.toolbar_filter.TabIndex = 5;
-			this.toolbar_filter.Text = "Things Filter / Linedef Colors";
-			this.toolbar_filter.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_prefabs
-			// 
-			this.toolbar_prefabs.AutoSize = true;
-			this.toolbar_prefabs.Location = new System.Drawing.Point(14, 102);
-			this.toolbar_prefabs.Name = "toolbar_prefabs";
-			this.toolbar_prefabs.Size = new System.Drawing.Size(62, 17);
-			this.toolbar_prefabs.TabIndex = 4;
-			this.toolbar_prefabs.Text = "Prefabs";
-			this.toolbar_prefabs.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_copy
-			// 
-			this.toolbar_copy.AutoSize = true;
-			this.toolbar_copy.Location = new System.Drawing.Point(14, 82);
-			this.toolbar_copy.Name = "toolbar_copy";
-			this.toolbar_copy.Size = new System.Drawing.Size(115, 17);
-			this.toolbar_copy.TabIndex = 3;
-			this.toolbar_copy.Text = "Cut / Copy / Paste";
-			this.toolbar_copy.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_undo
-			// 
-			this.toolbar_undo.AutoSize = true;
-			this.toolbar_undo.Location = new System.Drawing.Point(14, 62);
-			this.toolbar_undo.Name = "toolbar_undo";
-			this.toolbar_undo.Size = new System.Drawing.Size(89, 17);
-			this.toolbar_undo.TabIndex = 2;
-			this.toolbar_undo.Text = "Undo / Redo";
-			this.toolbar_undo.UseVisualStyleBackColor = true;
-			// 
-			// toolbar_script
-			// 
-			this.toolbar_script.AutoSize = true;
-			this.toolbar_script.Location = new System.Drawing.Point(14, 42);
-			this.toolbar_script.Name = "toolbar_script";
-			this.toolbar_script.Size = new System.Drawing.Size(83, 17);
-			this.toolbar_script.TabIndex = 1;
-			this.toolbar_script.Text = "Script Editor";
-			this.toolbar_script.UseVisualStyleBackColor = true;
-			// 
-			// groupBox4
-			// 
-			this.groupBox4.Controls.Add(this.collapsedockers);
-			this.groupBox4.Controls.Add(this.dockersposition);
-			this.groupBox4.Controls.Add(this.label17);
-			this.groupBox4.Location = new System.Drawing.Point(8, 449);
-			this.groupBox4.Name = "groupBox4";
-			this.groupBox4.Size = new System.Drawing.Size(331, 48);
-			this.groupBox4.TabIndex = 1;
-			this.groupBox4.TabStop = false;
-			this.groupBox4.Text = " Side Panels ";
-			// 
-			// collapsedockers
-			// 
-			this.collapsedockers.AutoSize = true;
-			this.collapsedockers.Location = new System.Drawing.Point(188, 20);
-			this.collapsedockers.Name = "collapsedockers";
-			this.collapsedockers.Size = new System.Drawing.Size(71, 17);
-			this.collapsedockers.TabIndex = 2;
-			this.collapsedockers.Text = "Auto hide";
-			this.collapsedockers.UseVisualStyleBackColor = true;
-			// 
-			// dockersposition
-			// 
-			this.dockersposition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.dockersposition.FormattingEnabled = true;
-			this.dockersposition.Items.AddRange(new object[] {
+            this.textlabelfontsize.Location = new System.Drawing.Point(228, 24);
+            this.textlabelfontsize.Name = "textlabelfontsize";
+            this.textlabelfontsize.Size = new System.Drawing.Size(45, 21);
+            this.textlabelfontsize.TabIndex = 30;
+            // 
+            // groupBox3
+            // 
+            this.groupBox3.Controls.Add(this.resetscreenshotsdir);
+            this.groupBox3.Controls.Add(this.browsescreenshotsdir);
+            this.groupBox3.Controls.Add(this.screenshotsfolderpath);
+            this.groupBox3.Location = new System.Drawing.Point(345, 449);
+            this.groupBox3.Name = "groupBox3";
+            this.groupBox3.Size = new System.Drawing.Size(331, 48);
+            this.groupBox3.TabIndex = 4;
+            this.groupBox3.TabStop = false;
+            this.groupBox3.Text = " Screenshots Folder ";
+            // 
+            // resetscreenshotsdir
+            // 
+            this.resetscreenshotsdir.Image = global::CodeImp.DoomBuilder.Properties.Resources.Reset;
+            this.resetscreenshotsdir.Location = new System.Drawing.Point(301, 17);
+            this.resetscreenshotsdir.Name = "resetscreenshotsdir";
+            this.resetscreenshotsdir.Size = new System.Drawing.Size(24, 24);
+            this.resetscreenshotsdir.TabIndex = 2;
+            this.toolTip1.SetToolTip(this.resetscreenshotsdir, "Use Default Screenshots Folder");
+            this.resetscreenshotsdir.UseVisualStyleBackColor = true;
+            this.resetscreenshotsdir.Click += new System.EventHandler(this.resetscreenshotsdir_Click);
+            // 
+            // browsescreenshotsdir
+            // 
+            this.browsescreenshotsdir.Image = global::CodeImp.DoomBuilder.Properties.Resources.FolderExplore;
+            this.browsescreenshotsdir.Location = new System.Drawing.Point(275, 17);
+            this.browsescreenshotsdir.Name = "browsescreenshotsdir";
+            this.browsescreenshotsdir.Size = new System.Drawing.Size(24, 24);
+            this.browsescreenshotsdir.TabIndex = 1;
+            this.toolTip1.SetToolTip(this.browsescreenshotsdir, "Browse Screenshots Folder");
+            this.browsescreenshotsdir.UseVisualStyleBackColor = true;
+            this.browsescreenshotsdir.Click += new System.EventHandler(this.browsescreenshotsdir_Click);
+            // 
+            // screenshotsfolderpath
+            // 
+            this.screenshotsfolderpath.Location = new System.Drawing.Point(6, 19);
+            this.screenshotsfolderpath.Name = "screenshotsfolderpath";
+            this.screenshotsfolderpath.Size = new System.Drawing.Size(264, 20);
+            this.screenshotsfolderpath.TabIndex = 0;
+            // 
+            // groupBox5
+            // 
+            this.groupBox5.Controls.Add(this.toolbar_gzdoom);
+            this.groupBox5.Controls.Add(this.toolbar_file);
+            this.groupBox5.Controls.Add(this.toolbar_testing);
+            this.groupBox5.Controls.Add(this.toolbar_geometry);
+            this.groupBox5.Controls.Add(this.toolbar_viewmodes);
+            this.groupBox5.Controls.Add(this.toolbar_filter);
+            this.groupBox5.Controls.Add(this.toolbar_prefabs);
+            this.groupBox5.Controls.Add(this.toolbar_copy);
+            this.groupBox5.Controls.Add(this.toolbar_undo);
+            this.groupBox5.Controls.Add(this.toolbar_script);
+            this.groupBox5.Location = new System.Drawing.Point(345, 256);
+            this.groupBox5.Name = "groupBox5";
+            this.groupBox5.Size = new System.Drawing.Size(331, 125);
+            this.groupBox5.TabIndex = 3;
+            this.groupBox5.TabStop = false;
+            this.groupBox5.Text = " Toolbar Buttons ";
+            // 
+            // toolbar_gzdoom
+            // 
+            this.toolbar_gzdoom.AutoSize = true;
+            this.toolbar_gzdoom.Location = new System.Drawing.Point(160, 102);
+            this.toolbar_gzdoom.Name = "toolbar_gzdoom";
+            this.toolbar_gzdoom.Size = new System.Drawing.Size(75, 17);
+            this.toolbar_gzdoom.TabIndex = 9;
+            this.toolbar_gzdoom.Text = "Rendering";
+            this.toolbar_gzdoom.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_file
+            // 
+            this.toolbar_file.AutoSize = true;
+            this.toolbar_file.Location = new System.Drawing.Point(14, 22);
+            this.toolbar_file.Name = "toolbar_file";
+            this.toolbar_file.Size = new System.Drawing.Size(121, 17);
+            this.toolbar_file.TabIndex = 0;
+            this.toolbar_file.Text = "New / Open / Save";
+            this.toolbar_file.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_testing
+            // 
+            this.toolbar_testing.AutoSize = true;
+            this.toolbar_testing.Location = new System.Drawing.Point(160, 82);
+            this.toolbar_testing.Name = "toolbar_testing";
+            this.toolbar_testing.Size = new System.Drawing.Size(61, 17);
+            this.toolbar_testing.TabIndex = 8;
+            this.toolbar_testing.Text = "Testing";
+            this.toolbar_testing.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_geometry
+            // 
+            this.toolbar_geometry.AutoSize = true;
+            this.toolbar_geometry.Location = new System.Drawing.Point(160, 62);
+            this.toolbar_geometry.Name = "toolbar_geometry";
+            this.toolbar_geometry.Size = new System.Drawing.Size(92, 17);
+            this.toolbar_geometry.TabIndex = 7;
+            this.toolbar_geometry.Text = "Snap / Merge";
+            this.toolbar_geometry.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_viewmodes
+            // 
+            this.toolbar_viewmodes.AutoSize = true;
+            this.toolbar_viewmodes.Location = new System.Drawing.Point(160, 42);
+            this.toolbar_viewmodes.Name = "toolbar_viewmodes";
+            this.toolbar_viewmodes.Size = new System.Drawing.Size(84, 17);
+            this.toolbar_viewmodes.TabIndex = 6;
+            this.toolbar_viewmodes.Text = "View Modes";
+            this.toolbar_viewmodes.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_filter
+            // 
+            this.toolbar_filter.AutoSize = true;
+            this.toolbar_filter.Location = new System.Drawing.Point(160, 22);
+            this.toolbar_filter.Name = "toolbar_filter";
+            this.toolbar_filter.Size = new System.Drawing.Size(161, 17);
+            this.toolbar_filter.TabIndex = 5;
+            this.toolbar_filter.Text = "Things Filter / Linedef Colors";
+            this.toolbar_filter.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_prefabs
+            // 
+            this.toolbar_prefabs.AutoSize = true;
+            this.toolbar_prefabs.Location = new System.Drawing.Point(14, 102);
+            this.toolbar_prefabs.Name = "toolbar_prefabs";
+            this.toolbar_prefabs.Size = new System.Drawing.Size(62, 17);
+            this.toolbar_prefabs.TabIndex = 4;
+            this.toolbar_prefabs.Text = "Prefabs";
+            this.toolbar_prefabs.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_copy
+            // 
+            this.toolbar_copy.AutoSize = true;
+            this.toolbar_copy.Location = new System.Drawing.Point(14, 82);
+            this.toolbar_copy.Name = "toolbar_copy";
+            this.toolbar_copy.Size = new System.Drawing.Size(115, 17);
+            this.toolbar_copy.TabIndex = 3;
+            this.toolbar_copy.Text = "Cut / Copy / Paste";
+            this.toolbar_copy.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_undo
+            // 
+            this.toolbar_undo.AutoSize = true;
+            this.toolbar_undo.Location = new System.Drawing.Point(14, 62);
+            this.toolbar_undo.Name = "toolbar_undo";
+            this.toolbar_undo.Size = new System.Drawing.Size(89, 17);
+            this.toolbar_undo.TabIndex = 2;
+            this.toolbar_undo.Text = "Undo / Redo";
+            this.toolbar_undo.UseVisualStyleBackColor = true;
+            // 
+            // toolbar_script
+            // 
+            this.toolbar_script.AutoSize = true;
+            this.toolbar_script.Location = new System.Drawing.Point(14, 42);
+            this.toolbar_script.Name = "toolbar_script";
+            this.toolbar_script.Size = new System.Drawing.Size(83, 17);
+            this.toolbar_script.TabIndex = 1;
+            this.toolbar_script.Text = "Script Editor";
+            this.toolbar_script.UseVisualStyleBackColor = true;
+            // 
+            // groupBox4
+            // 
+            this.groupBox4.Controls.Add(this.collapsedockers);
+            this.groupBox4.Controls.Add(this.dockersposition);
+            this.groupBox4.Controls.Add(this.label17);
+            this.groupBox4.Location = new System.Drawing.Point(8, 449);
+            this.groupBox4.Name = "groupBox4";
+            this.groupBox4.Size = new System.Drawing.Size(331, 48);
+            this.groupBox4.TabIndex = 1;
+            this.groupBox4.TabStop = false;
+            this.groupBox4.Text = " Side Panels ";
+            // 
+            // collapsedockers
+            // 
+            this.collapsedockers.AutoSize = true;
+            this.collapsedockers.Location = new System.Drawing.Point(188, 20);
+            this.collapsedockers.Name = "collapsedockers";
+            this.collapsedockers.Size = new System.Drawing.Size(71, 17);
+            this.collapsedockers.TabIndex = 2;
+            this.collapsedockers.Text = "Auto hide";
+            this.collapsedockers.UseVisualStyleBackColor = true;
+            // 
+            // dockersposition
+            // 
+            this.dockersposition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.dockersposition.FormattingEnabled = true;
+            this.dockersposition.Items.AddRange(new object[] {
             "Left",
             "Right",
             "None"});
-			this.dockersposition.Location = new System.Drawing.Point(91, 18);
-			this.dockersposition.Name = "dockersposition";
-			this.dockersposition.Size = new System.Drawing.Size(85, 21);
-			this.dockersposition.TabIndex = 1;
-			// 
-			// label17
-			// 
-			this.label17.AutoSize = true;
-			this.label17.Location = new System.Drawing.Point(29, 21);
-			this.label17.Name = "label17";
-			this.label17.Size = new System.Drawing.Size(47, 13);
-			this.label17.TabIndex = 0;
-			this.label17.Text = "Position:";
-			// 
-			// groupBox2
-			// 
-			this.groupBox2.Controls.Add(this.vertexScale3D);
-			this.groupBox2.Controls.Add(this.vertexScale3DLabel);
-			this.groupBox2.Controls.Add(this.label26);
-			this.groupBox2.Controls.Add(this.viewdistance);
-			this.groupBox2.Controls.Add(this.movespeed);
-			this.groupBox2.Controls.Add(this.mousespeed);
-			this.groupBox2.Controls.Add(this.fieldofview);
-			this.groupBox2.Controls.Add(this.viewdistancelabel);
-			this.groupBox2.Controls.Add(this.label13);
-			this.groupBox2.Controls.Add(this.invertyaxis);
-			this.groupBox2.Controls.Add(this.movespeedlabel);
-			this.groupBox2.Controls.Add(this.label11);
-			this.groupBox2.Controls.Add(this.mousespeedlabel);
-			this.groupBox2.Controls.Add(this.label9);
-			this.groupBox2.Controls.Add(this.fieldofviewlabel);
-			this.groupBox2.Controls.Add(this.label4);
-			this.groupBox2.Location = new System.Drawing.Point(345, 8);
-			this.groupBox2.Name = "groupBox2";
-			this.groupBox2.Size = new System.Drawing.Size(331, 242);
-			this.groupBox2.TabIndex = 2;
-			this.groupBox2.TabStop = false;
-			this.groupBox2.Text = " Visual Modes ";
-			// 
-			// vertexScale3D
-			// 
-			this.vertexScale3D.BackColor = System.Drawing.SystemColors.Window;
-			this.vertexScale3D.LargeChange = 1;
-			this.vertexScale3D.Location = new System.Drawing.Point(116, 133);
-			this.vertexScale3D.Maximum = 15;
-			this.vertexScale3D.Minimum = 2;
-			this.vertexScale3D.Name = "vertexScale3D";
-			this.vertexScale3D.Size = new System.Drawing.Size(150, 45);
-			this.vertexScale3D.TabIndex = 3;
-			this.vertexScale3D.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.vertexScale3D.Value = 10;
-			this.vertexScale3D.ValueChanged += new System.EventHandler(this.vertexScale3D_ValueChanged);
-			// 
-			// vertexScale3DLabel
-			// 
-			this.vertexScale3DLabel.AutoSize = true;
-			this.vertexScale3DLabel.Location = new System.Drawing.Point(272, 145);
-			this.vertexScale3DLabel.Name = "vertexScale3DLabel";
-			this.vertexScale3DLabel.Size = new System.Drawing.Size(33, 13);
-			this.vertexScale3DLabel.TabIndex = 33;
-			this.vertexScale3DLabel.Text = "100%";
-			// 
-			// label26
-			// 
-			this.label26.AutoSize = true;
-			this.label26.Location = new System.Drawing.Point(16, 145);
-			this.label26.Name = "label26";
-			this.label26.Size = new System.Drawing.Size(91, 13);
-			this.label26.TabIndex = 32;
-			this.label26.Text = "Vertex scale (3D):";
-			this.toolTip1.SetToolTip(this.label26, "Sets the size of vertex handles\r\nin 3D mode");
-			// 
-			// viewdistance
-			// 
-			this.viewdistance.BackColor = System.Drawing.SystemColors.Window;
-			this.viewdistance.LargeChange = 2;
-			this.viewdistance.Location = new System.Drawing.Point(116, 169);
-			this.viewdistance.Maximum = 45;
-			this.viewdistance.Minimum = 1;
-			this.viewdistance.Name = "viewdistance";
-			this.viewdistance.Size = new System.Drawing.Size(150, 45);
-			this.viewdistance.TabIndex = 4;
-			this.viewdistance.TickFrequency = 2;
-			this.viewdistance.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.viewdistance.Value = 1;
-			this.viewdistance.ValueChanged += new System.EventHandler(this.viewdistance_ValueChanged);
-			// 
-			// movespeed
-			// 
-			this.movespeed.BackColor = System.Drawing.SystemColors.Window;
-			this.movespeed.Location = new System.Drawing.Point(116, 96);
-			this.movespeed.Maximum = 20;
-			this.movespeed.Minimum = 1;
-			this.movespeed.Name = "movespeed";
-			this.movespeed.Size = new System.Drawing.Size(150, 45);
-			this.movespeed.TabIndex = 2;
-			this.movespeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.movespeed.Value = 1;
-			this.movespeed.ValueChanged += new System.EventHandler(this.movespeed_ValueChanged);
-			// 
-			// mousespeed
-			// 
-			this.mousespeed.BackColor = System.Drawing.SystemColors.Window;
-			this.mousespeed.Location = new System.Drawing.Point(116, 57);
-			this.mousespeed.Maximum = 20;
-			this.mousespeed.Minimum = 1;
-			this.mousespeed.Name = "mousespeed";
-			this.mousespeed.Size = new System.Drawing.Size(150, 45);
-			this.mousespeed.TabIndex = 1;
-			this.mousespeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.mousespeed.Value = 1;
-			this.mousespeed.ValueChanged += new System.EventHandler(this.mousespeed_ValueChanged);
-			// 
-			// fieldofview
-			// 
-			this.fieldofview.BackColor = System.Drawing.SystemColors.Window;
-			this.fieldofview.LargeChange = 1;
-			this.fieldofview.Location = new System.Drawing.Point(116, 20);
-			this.fieldofview.Maximum = 17;
-			this.fieldofview.Minimum = 5;
-			this.fieldofview.Name = "fieldofview";
-			this.fieldofview.Size = new System.Drawing.Size(150, 45);
-			this.fieldofview.TabIndex = 0;
-			this.fieldofview.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.fieldofview.Value = 5;
-			this.fieldofview.ValueChanged += new System.EventHandler(this.fieldofview_ValueChanged);
-			// 
-			// viewdistancelabel
-			// 
-			this.viewdistancelabel.AutoSize = true;
-			this.viewdistancelabel.Location = new System.Drawing.Point(272, 181);
-			this.viewdistancelabel.Name = "viewdistancelabel";
-			this.viewdistancelabel.Size = new System.Drawing.Size(42, 13);
-			this.viewdistancelabel.TabIndex = 30;
-			this.viewdistancelabel.Text = "200 mp";
-			// 
-			// label13
-			// 
-			this.label13.AutoSize = true;
-			this.label13.Location = new System.Drawing.Point(30, 182);
-			this.label13.Name = "label13";
-			this.label13.Size = new System.Drawing.Size(76, 13);
-			this.label13.TabIndex = 28;
-			this.label13.Text = "View distance:";
-			// 
-			// invertyaxis
-			// 
-			this.invertyaxis.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-			this.invertyaxis.AutoSize = true;
-			this.invertyaxis.Location = new System.Drawing.Point(32, 215);
-			this.invertyaxis.Name = "invertyaxis";
-			this.invertyaxis.Size = new System.Drawing.Size(118, 17);
-			this.invertyaxis.TabIndex = 5;
-			this.invertyaxis.Text = "Invert mouse Y axis";
-			this.invertyaxis.UseVisualStyleBackColor = true;
-			// 
-			// movespeedlabel
-			// 
-			this.movespeedlabel.AutoSize = true;
-			this.movespeedlabel.Location = new System.Drawing.Point(272, 108);
-			this.movespeedlabel.Name = "movespeedlabel";
-			this.movespeedlabel.Size = new System.Drawing.Size(25, 13);
-			this.movespeedlabel.TabIndex = 25;
-			this.movespeedlabel.Text = "100";
-			// 
-			// label11
-			// 
-			this.label11.AutoSize = true;
-			this.label11.Location = new System.Drawing.Point(41, 108);
-			this.label11.Name = "label11";
-			this.label11.Size = new System.Drawing.Size(69, 13);
-			this.label11.TabIndex = 23;
-			this.label11.Text = "Move speed:";
-			// 
-			// mousespeedlabel
-			// 
-			this.mousespeedlabel.AutoSize = true;
-			this.mousespeedlabel.Location = new System.Drawing.Point(272, 69);
-			this.mousespeedlabel.Name = "mousespeedlabel";
-			this.mousespeedlabel.Size = new System.Drawing.Size(25, 13);
-			this.mousespeedlabel.TabIndex = 22;
-			this.mousespeedlabel.Text = "100";
-			// 
-			// label9
-			// 
-			this.label9.AutoSize = true;
-			this.label9.Location = new System.Drawing.Point(35, 69);
-			this.label9.Name = "label9";
-			this.label9.Size = new System.Drawing.Size(74, 13);
-			this.label9.TabIndex = 20;
-			this.label9.Text = "Mouse speed:";
-			// 
-			// fieldofviewlabel
-			// 
-			this.fieldofviewlabel.AutoSize = true;
-			this.fieldofviewlabel.Location = new System.Drawing.Point(272, 32);
-			this.fieldofviewlabel.Name = "fieldofviewlabel";
-			this.fieldofviewlabel.Size = new System.Drawing.Size(23, 13);
-			this.fieldofviewlabel.TabIndex = 19;
-			this.fieldofviewlabel.Text = "50°";
-			// 
-			// label4
-			// 
-			this.label4.AutoSize = true;
-			this.label4.Location = new System.Drawing.Point(38, 32);
-			this.label4.Name = "label4";
-			this.label4.Size = new System.Drawing.Size(69, 13);
-			this.label4.TabIndex = 17;
-			this.label4.Text = "Field of view:";
-			// 
-			// tabkeys
-			// 
-			this.tabkeys.Controls.Add(this.bClearActionFilter);
-			this.tabkeys.Controls.Add(this.tbFilterActions);
-			this.tabkeys.Controls.Add(this.label24);
-			this.tabkeys.Controls.Add(this.listactions);
-			this.tabkeys.Controls.Add(this.actioncontrolpanel);
-			this.tabkeys.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabkeys.Location = new System.Drawing.Point(4, 22);
-			this.tabkeys.Name = "tabkeys";
-			this.tabkeys.Padding = new System.Windows.Forms.Padding(3);
-			this.tabkeys.Size = new System.Drawing.Size(682, 510);
-			this.tabkeys.TabIndex = 1;
-			this.tabkeys.Text = "Controls";
-			this.tabkeys.UseVisualStyleBackColor = true;
-			// 
-			// bClearActionFilter
-			// 
-			this.bClearActionFilter.Image = global::CodeImp.DoomBuilder.Properties.Resources.SearchClear;
-			this.bClearActionFilter.Location = new System.Drawing.Point(227, 10);
-			this.bClearActionFilter.Name = "bClearActionFilter";
-			this.bClearActionFilter.Size = new System.Drawing.Size(26, 25);
-			this.bClearActionFilter.TabIndex = 12;
-			this.bClearActionFilter.TabStop = false;
-			this.bClearActionFilter.UseVisualStyleBackColor = true;
-			this.bClearActionFilter.Click += new System.EventHandler(this.bClearActionFilter_Click);
-			// 
-			// tbFilterActions
-			// 
-			this.tbFilterActions.Location = new System.Drawing.Point(55, 13);
-			this.tbFilterActions.Name = "tbFilterActions";
-			this.tbFilterActions.Size = new System.Drawing.Size(166, 20);
-			this.tbFilterActions.TabIndex = 11;
-			this.tbFilterActions.TabStop = false;
-			this.tbFilterActions.TextChanged += new System.EventHandler(this.tbFilterActions_TextChanged);
-			// 
-			// label24
-			// 
-			this.label24.AutoSize = true;
-			this.label24.Location = new System.Drawing.Point(17, 16);
-			this.label24.Name = "label24";
-			this.label24.Size = new System.Drawing.Size(32, 13);
-			this.label24.TabIndex = 10;
-			this.label24.Text = "Filter:";
-			// 
-			// listactions
-			// 
-			this.listactions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.listactions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
+            this.dockersposition.Location = new System.Drawing.Point(91, 18);
+            this.dockersposition.Name = "dockersposition";
+            this.dockersposition.Size = new System.Drawing.Size(85, 21);
+            this.dockersposition.TabIndex = 1;
+            // 
+            // label17
+            // 
+            this.label17.AutoSize = true;
+            this.label17.Location = new System.Drawing.Point(29, 21);
+            this.label17.Name = "label17";
+            this.label17.Size = new System.Drawing.Size(47, 13);
+            this.label17.TabIndex = 0;
+            this.label17.Text = "Position:";
+            // 
+            // groupBox2
+            // 
+            this.groupBox2.Controls.Add(this.vertexScale3D);
+            this.groupBox2.Controls.Add(this.vertexScale3DLabel);
+            this.groupBox2.Controls.Add(this.label26);
+            this.groupBox2.Controls.Add(this.viewdistance);
+            this.groupBox2.Controls.Add(this.movespeed);
+            this.groupBox2.Controls.Add(this.mousespeed);
+            this.groupBox2.Controls.Add(this.fieldofview);
+            this.groupBox2.Controls.Add(this.viewdistancelabel);
+            this.groupBox2.Controls.Add(this.label13);
+            this.groupBox2.Controls.Add(this.invertyaxis);
+            this.groupBox2.Controls.Add(this.movespeedlabel);
+            this.groupBox2.Controls.Add(this.label11);
+            this.groupBox2.Controls.Add(this.mousespeedlabel);
+            this.groupBox2.Controls.Add(this.label9);
+            this.groupBox2.Controls.Add(this.fieldofviewlabel);
+            this.groupBox2.Controls.Add(this.label4);
+            this.groupBox2.Location = new System.Drawing.Point(345, 8);
+            this.groupBox2.Name = "groupBox2";
+            this.groupBox2.Size = new System.Drawing.Size(331, 242);
+            this.groupBox2.TabIndex = 2;
+            this.groupBox2.TabStop = false;
+            this.groupBox2.Text = " Visual Modes ";
+            // 
+            // vertexScale3D
+            // 
+            this.vertexScale3D.BackColor = System.Drawing.SystemColors.Window;
+            this.vertexScale3D.LargeChange = 1;
+            this.vertexScale3D.Location = new System.Drawing.Point(116, 133);
+            this.vertexScale3D.Maximum = 15;
+            this.vertexScale3D.Minimum = 2;
+            this.vertexScale3D.Name = "vertexScale3D";
+            this.vertexScale3D.Size = new System.Drawing.Size(150, 42);
+            this.vertexScale3D.TabIndex = 3;
+            this.vertexScale3D.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.vertexScale3D.Value = 10;
+            this.vertexScale3D.ValueChanged += new System.EventHandler(this.vertexScale3D_ValueChanged);
+            // 
+            // vertexScale3DLabel
+            // 
+            this.vertexScale3DLabel.AutoSize = true;
+            this.vertexScale3DLabel.Location = new System.Drawing.Point(272, 145);
+            this.vertexScale3DLabel.Name = "vertexScale3DLabel";
+            this.vertexScale3DLabel.Size = new System.Drawing.Size(33, 13);
+            this.vertexScale3DLabel.TabIndex = 33;
+            this.vertexScale3DLabel.Text = "100%";
+            // 
+            // label26
+            // 
+            this.label26.AutoSize = true;
+            this.label26.Location = new System.Drawing.Point(16, 145);
+            this.label26.Name = "label26";
+            this.label26.Size = new System.Drawing.Size(91, 13);
+            this.label26.TabIndex = 32;
+            this.label26.Text = "Vertex scale (3D):";
+            this.toolTip1.SetToolTip(this.label26, "Sets the size of vertex handles\r\nin 3D mode");
+            // 
+            // viewdistance
+            // 
+            this.viewdistance.BackColor = System.Drawing.SystemColors.Window;
+            this.viewdistance.LargeChange = 2;
+            this.viewdistance.Location = new System.Drawing.Point(116, 169);
+            this.viewdistance.Maximum = 45;
+            this.viewdistance.Minimum = 1;
+            this.viewdistance.Name = "viewdistance";
+            this.viewdistance.Size = new System.Drawing.Size(150, 42);
+            this.viewdistance.TabIndex = 4;
+            this.viewdistance.TickFrequency = 2;
+            this.viewdistance.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.viewdistance.Value = 1;
+            this.viewdistance.ValueChanged += new System.EventHandler(this.viewdistance_ValueChanged);
+            // 
+            // movespeed
+            // 
+            this.movespeed.BackColor = System.Drawing.SystemColors.Window;
+            this.movespeed.Location = new System.Drawing.Point(116, 96);
+            this.movespeed.Maximum = 20;
+            this.movespeed.Minimum = 1;
+            this.movespeed.Name = "movespeed";
+            this.movespeed.Size = new System.Drawing.Size(150, 42);
+            this.movespeed.TabIndex = 2;
+            this.movespeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.movespeed.Value = 1;
+            this.movespeed.ValueChanged += new System.EventHandler(this.movespeed_ValueChanged);
+            // 
+            // mousespeed
+            // 
+            this.mousespeed.BackColor = System.Drawing.SystemColors.Window;
+            this.mousespeed.Location = new System.Drawing.Point(116, 57);
+            this.mousespeed.Maximum = 20;
+            this.mousespeed.Minimum = 1;
+            this.mousespeed.Name = "mousespeed";
+            this.mousespeed.Size = new System.Drawing.Size(150, 42);
+            this.mousespeed.TabIndex = 1;
+            this.mousespeed.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.mousespeed.Value = 1;
+            this.mousespeed.ValueChanged += new System.EventHandler(this.mousespeed_ValueChanged);
+            // 
+            // fieldofview
+            // 
+            this.fieldofview.BackColor = System.Drawing.SystemColors.Window;
+            this.fieldofview.LargeChange = 1;
+            this.fieldofview.Location = new System.Drawing.Point(116, 20);
+            this.fieldofview.Maximum = 17;
+            this.fieldofview.Minimum = 5;
+            this.fieldofview.Name = "fieldofview";
+            this.fieldofview.Size = new System.Drawing.Size(150, 42);
+            this.fieldofview.TabIndex = 0;
+            this.fieldofview.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.fieldofview.Value = 5;
+            this.fieldofview.ValueChanged += new System.EventHandler(this.fieldofview_ValueChanged);
+            // 
+            // viewdistancelabel
+            // 
+            this.viewdistancelabel.AutoSize = true;
+            this.viewdistancelabel.Location = new System.Drawing.Point(272, 181);
+            this.viewdistancelabel.Name = "viewdistancelabel";
+            this.viewdistancelabel.Size = new System.Drawing.Size(42, 13);
+            this.viewdistancelabel.TabIndex = 30;
+            this.viewdistancelabel.Text = "200 mp";
+            // 
+            // label13
+            // 
+            this.label13.AutoSize = true;
+            this.label13.Location = new System.Drawing.Point(30, 182);
+            this.label13.Name = "label13";
+            this.label13.Size = new System.Drawing.Size(76, 13);
+            this.label13.TabIndex = 28;
+            this.label13.Text = "View distance:";
+            // 
+            // invertyaxis
+            // 
+            this.invertyaxis.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.invertyaxis.AutoSize = true;
+            this.invertyaxis.Location = new System.Drawing.Point(32, 215);
+            this.invertyaxis.Name = "invertyaxis";
+            this.invertyaxis.Size = new System.Drawing.Size(118, 17);
+            this.invertyaxis.TabIndex = 5;
+            this.invertyaxis.Text = "Invert mouse Y axis";
+            this.invertyaxis.UseVisualStyleBackColor = true;
+            // 
+            // movespeedlabel
+            // 
+            this.movespeedlabel.AutoSize = true;
+            this.movespeedlabel.Location = new System.Drawing.Point(272, 108);
+            this.movespeedlabel.Name = "movespeedlabel";
+            this.movespeedlabel.Size = new System.Drawing.Size(25, 13);
+            this.movespeedlabel.TabIndex = 25;
+            this.movespeedlabel.Text = "100";
+            // 
+            // label11
+            // 
+            this.label11.AutoSize = true;
+            this.label11.Location = new System.Drawing.Point(41, 108);
+            this.label11.Name = "label11";
+            this.label11.Size = new System.Drawing.Size(69, 13);
+            this.label11.TabIndex = 23;
+            this.label11.Text = "Move speed:";
+            // 
+            // mousespeedlabel
+            // 
+            this.mousespeedlabel.AutoSize = true;
+            this.mousespeedlabel.Location = new System.Drawing.Point(272, 69);
+            this.mousespeedlabel.Name = "mousespeedlabel";
+            this.mousespeedlabel.Size = new System.Drawing.Size(25, 13);
+            this.mousespeedlabel.TabIndex = 22;
+            this.mousespeedlabel.Text = "100";
+            // 
+            // label9
+            // 
+            this.label9.AutoSize = true;
+            this.label9.Location = new System.Drawing.Point(35, 69);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(74, 13);
+            this.label9.TabIndex = 20;
+            this.label9.Text = "Mouse speed:";
+            // 
+            // fieldofviewlabel
+            // 
+            this.fieldofviewlabel.AutoSize = true;
+            this.fieldofviewlabel.Location = new System.Drawing.Point(272, 32);
+            this.fieldofviewlabel.Name = "fieldofviewlabel";
+            this.fieldofviewlabel.Size = new System.Drawing.Size(23, 13);
+            this.fieldofviewlabel.TabIndex = 19;
+            this.fieldofviewlabel.Text = "50°";
+            // 
+            // label4
+            // 
+            this.label4.AutoSize = true;
+            this.label4.Location = new System.Drawing.Point(38, 32);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(69, 13);
+            this.label4.TabIndex = 17;
+            this.label4.Text = "Field of view:";
+            // 
+            // tabkeys
+            // 
+            this.tabkeys.Controls.Add(this.bClearActionFilter);
+            this.tabkeys.Controls.Add(this.tbFilterActions);
+            this.tabkeys.Controls.Add(this.label24);
+            this.tabkeys.Controls.Add(this.listactions);
+            this.tabkeys.Controls.Add(this.actioncontrolpanel);
+            this.tabkeys.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabkeys.Location = new System.Drawing.Point(4, 22);
+            this.tabkeys.Name = "tabkeys";
+            this.tabkeys.Padding = new System.Windows.Forms.Padding(3);
+            this.tabkeys.Size = new System.Drawing.Size(682, 510);
+            this.tabkeys.TabIndex = 1;
+            this.tabkeys.Text = "Controls";
+            this.tabkeys.UseVisualStyleBackColor = true;
+            // 
+            // bClearActionFilter
+            // 
+            this.bClearActionFilter.Image = global::CodeImp.DoomBuilder.Properties.Resources.SearchClear;
+            this.bClearActionFilter.Location = new System.Drawing.Point(227, 10);
+            this.bClearActionFilter.Name = "bClearActionFilter";
+            this.bClearActionFilter.Size = new System.Drawing.Size(26, 25);
+            this.bClearActionFilter.TabIndex = 12;
+            this.bClearActionFilter.TabStop = false;
+            this.bClearActionFilter.UseVisualStyleBackColor = true;
+            this.bClearActionFilter.Click += new System.EventHandler(this.bClearActionFilter_Click);
+            // 
+            // tbFilterActions
+            // 
+            this.tbFilterActions.Location = new System.Drawing.Point(55, 13);
+            this.tbFilterActions.Name = "tbFilterActions";
+            this.tbFilterActions.Size = new System.Drawing.Size(166, 20);
+            this.tbFilterActions.TabIndex = 11;
+            this.tbFilterActions.TabStop = false;
+            this.tbFilterActions.TextChanged += new System.EventHandler(this.tbFilterActions_TextChanged);
+            // 
+            // label24
+            // 
+            this.label24.AutoSize = true;
+            this.label24.Location = new System.Drawing.Point(17, 16);
+            this.label24.Name = "label24";
+            this.label24.Size = new System.Drawing.Size(32, 13);
+            this.label24.TabIndex = 10;
+            this.label24.Text = "Filter:";
+            // 
+            // listactions
+            // 
+            this.listactions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.listactions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
             this.columncontrolaction,
             this.columncontrolkey});
-			this.listactions.FullRowSelect = true;
-			this.listactions.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
-			this.listactions.HideSelection = false;
-			this.listactions.Location = new System.Drawing.Point(11, 42);
-			this.listactions.Margin = new System.Windows.Forms.Padding(8, 9, 8, 9);
-			this.listactions.MultiSelect = false;
-			this.listactions.Name = "listactions";
-			this.listactions.Size = new System.Drawing.Size(352, 458);
-			this.listactions.Sorting = System.Windows.Forms.SortOrder.Ascending;
-			this.listactions.TabIndex = 0;
-			this.listactions.TabStop = false;
-			this.listactions.UseCompatibleStateImageBehavior = false;
-			this.listactions.View = System.Windows.Forms.View.Details;
-			this.listactions.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listactions_MouseUp);
-			this.listactions.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.listactions_ItemSelectionChanged);
-			this.listactions.KeyUp += new System.Windows.Forms.KeyEventHandler(this.listactions_KeyUp);
-			// 
-			// columncontrolaction
-			// 
-			this.columncontrolaction.Text = "Action";
-			this.columncontrolaction.Width = 200;
-			// 
-			// columncontrolkey
-			// 
-			this.columncontrolkey.Text = "Key";
-			this.columncontrolkey.Width = 130;
-			// 
-			// actioncontrolpanel
-			// 
-			this.actioncontrolpanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.actioncontrolpanel.Controls.Add(this.actiondescription);
-			this.actioncontrolpanel.Controls.Add(this.keyusedlist);
-			this.actioncontrolpanel.Controls.Add(this.keyusedlabel);
-			this.actioncontrolpanel.Controls.Add(this.disregardshiftlabel);
-			this.actioncontrolpanel.Controls.Add(this.actioncontrol);
-			this.actioncontrolpanel.Controls.Add(label7);
-			this.actioncontrolpanel.Controls.Add(this.actiontitle);
-			this.actioncontrolpanel.Controls.Add(this.actioncontrolclear);
-			this.actioncontrolpanel.Controls.Add(this.actionkey);
-			this.actioncontrolpanel.Controls.Add(label5);
-			this.actioncontrolpanel.Enabled = false;
-			this.actioncontrolpanel.Location = new System.Drawing.Point(377, 12);
-			this.actioncontrolpanel.Margin = new System.Windows.Forms.Padding(6);
-			this.actioncontrolpanel.Name = "actioncontrolpanel";
-			this.actioncontrolpanel.Size = new System.Drawing.Size(296, 488);
-			this.actioncontrolpanel.TabIndex = 9;
-			this.actioncontrolpanel.TabStop = false;
-			this.actioncontrolpanel.Text = " Action control ";
-			// 
-			// actiondescription
-			// 
-			this.actiondescription.BorderStyle = System.Windows.Forms.BorderStyle.None;
-			this.actiondescription.Location = new System.Drawing.Point(20, 47);
-			this.actiondescription.Multiline = true;
-			this.actiondescription.Name = "actiondescription";
-			this.actiondescription.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
-			this.actiondescription.Size = new System.Drawing.Size(266, 72);
-			this.actiondescription.TabIndex = 12;
-			// 
-			// keyusedlist
-			// 
-			this.keyusedlist.BackColor = System.Drawing.SystemColors.Control;
-			this.keyusedlist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-			this.keyusedlist.FormattingEnabled = true;
-			this.keyusedlist.IntegralHeight = false;
-			this.keyusedlist.Location = new System.Drawing.Point(23, 307);
-			this.keyusedlist.Name = "keyusedlist";
-			this.keyusedlist.SelectionMode = System.Windows.Forms.SelectionMode.None;
-			this.keyusedlist.Size = new System.Drawing.Size(263, 115);
-			this.keyusedlist.Sorted = true;
-			this.keyusedlist.TabIndex = 11;
-			this.keyusedlist.Visible = false;
-			// 
-			// disregardshiftlabel
-			// 
-			this.disregardshiftlabel.Location = new System.Drawing.Point(20, 224);
-			this.disregardshiftlabel.Name = "disregardshiftlabel";
-			this.disregardshiftlabel.Size = new System.Drawing.Size(266, 47);
-			this.disregardshiftlabel.TabIndex = 9;
-			this.disregardshiftlabel.Tag = "The selected action uses %s to modify its behavior. These modifiers can not be us" +
-				"ed in a key combination for this action.";
-			this.disregardshiftlabel.Text = "The selected action uses Shift, Alt and Control to modify its behavior. These mod" +
-				"ifiers can not be used in a key combination for this action.";
-			this.disregardshiftlabel.Visible = false;
-			// 
-			// actioncontrol
-			// 
-			this.actioncontrol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.actioncontrol.FormattingEnabled = true;
-			this.actioncontrol.ImeMode = System.Windows.Forms.ImeMode.Off;
-			this.actioncontrol.Location = new System.Drawing.Point(23, 190);
-			this.actioncontrol.Name = "actioncontrol";
-			this.actioncontrol.Size = new System.Drawing.Size(196, 21);
-			this.actioncontrol.TabIndex = 8;
-			this.actioncontrol.TabStop = false;
-			this.actioncontrol.SelectedIndexChanged += new System.EventHandler(this.actioncontrol_SelectedIndexChanged);
-			// 
-			// actiontitle
-			// 
-			this.actiontitle.AutoSize = true;
-			this.actiontitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.actiontitle.Location = new System.Drawing.Point(17, 29);
-			this.actiontitle.Name = "actiontitle";
-			this.actiontitle.Size = new System.Drawing.Size(176, 13);
-			this.actiontitle.TabIndex = 1;
-			this.actiontitle.Text = "(select an action from the list)";
-			this.actiontitle.UseMnemonic = false;
-			// 
-			// actioncontrolclear
-			// 
-			this.actioncontrolclear.Image = global::CodeImp.DoomBuilder.Properties.Resources.SearchClear;
-			this.actioncontrolclear.Location = new System.Drawing.Point(193, 137);
-			this.actioncontrolclear.Name = "actioncontrolclear";
-			this.actioncontrolclear.Size = new System.Drawing.Size(26, 25);
-			this.actioncontrolclear.TabIndex = 6;
-			this.actioncontrolclear.TabStop = false;
-			this.actioncontrolclear.UseVisualStyleBackColor = true;
-			this.actioncontrolclear.Click += new System.EventHandler(this.actioncontrolclear_Click);
-			// 
-			// actionkey
-			// 
-			this.actionkey.ImeMode = System.Windows.Forms.ImeMode.Off;
-			this.actionkey.Location = new System.Drawing.Point(23, 140);
-			this.actionkey.Name = "actionkey";
-			this.actionkey.Size = new System.Drawing.Size(163, 20);
-			this.actionkey.TabIndex = 5;
-			this.actionkey.TabStop = false;
-			this.actionkey.KeyDown += new System.Windows.Forms.KeyEventHandler(this.actionkey_KeyDown);
-			// 
-			// tabcolors
-			// 
-			this.tabcolors.Controls.Add(this.appearancegroup1);
-			this.tabcolors.Controls.Add(this.colorsgroup1);
-			this.tabcolors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabcolors.Location = new System.Drawing.Point(4, 22);
-			this.tabcolors.Name = "tabcolors";
-			this.tabcolors.Padding = new System.Windows.Forms.Padding(5);
-			this.tabcolors.Size = new System.Drawing.Size(682, 510);
-			this.tabcolors.TabIndex = 2;
-			this.tabcolors.Text = "Appearance";
-			this.tabcolors.UseVisualStyleBackColor = true;
-			// 
-			// appearancegroup1
-			// 
-			this.appearancegroup1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.appearancegroup1.Controls.Add(this.activethingsalphalabel);
-			this.appearancegroup1.Controls.Add(this.label31);
-			this.appearancegroup1.Controls.Add(this.cbMarkExtraFloors);
-			this.appearancegroup1.Controls.Add(this.activethingsalpha);
-			this.appearancegroup1.Controls.Add(this.hiddenthingsalphalabel);
-			this.appearancegroup1.Controls.Add(this.label32);
-			this.appearancegroup1.Controls.Add(this.inactivethingsalphalabel);
-			this.appearancegroup1.Controls.Add(this.label30);
-			this.appearancegroup1.Controls.Add(label29);
-			this.appearancegroup1.Controls.Add(this.labelantialiasing);
-			this.appearancegroup1.Controls.Add(this.antialiasing);
-			this.appearancegroup1.Controls.Add(label27);
-			this.appearancegroup1.Controls.Add(this.labelanisotropicfiltering);
-			this.appearancegroup1.Controls.Add(this.anisotropicfiltering);
-			this.appearancegroup1.Controls.Add(this.cbOldHighlightMode);
-			this.appearancegroup1.Controls.Add(this.cbStretchView);
-			this.appearancegroup1.Controls.Add(this.doublesidedalphalabel);
-			this.appearancegroup1.Controls.Add(this.qualitydisplay);
-			this.appearancegroup1.Controls.Add(this.label2);
-			this.appearancegroup1.Controls.Add(label18);
-			this.appearancegroup1.Controls.Add(this.labelDynLightCount);
-			this.appearancegroup1.Controls.Add(this.tbDynLightCount);
-			this.appearancegroup1.Controls.Add(this.imagebrightness);
-			this.appearancegroup1.Controls.Add(this.animatevisualselection);
-			this.appearancegroup1.Controls.Add(this.hiddenthingsalpha);
-			this.appearancegroup1.Controls.Add(this.inactivethingsalpha);
-			this.appearancegroup1.Controls.Add(this.doublesidedalpha);
-			this.appearancegroup1.Controls.Add(this.visualbilinear);
-			this.appearancegroup1.Controls.Add(label1);
-			this.appearancegroup1.Controls.Add(this.classicbilinear);
-			this.appearancegroup1.Controls.Add(this.imagebrightnesslabel);
-			this.appearancegroup1.Location = new System.Drawing.Point(217, 8);
-			this.appearancegroup1.Name = "appearancegroup1";
-			this.appearancegroup1.Size = new System.Drawing.Size(457, 493);
-			this.appearancegroup1.TabIndex = 2;
-			this.appearancegroup1.TabStop = false;
-			this.appearancegroup1.Text = " Rendering ";
-			// 
-			// activethingsalphalabel
-			// 
-			this.activethingsalphalabel.AutoSize = true;
-			this.activethingsalphalabel.Location = new System.Drawing.Point(359, 68);
-			this.activethingsalphalabel.Name = "activethingsalphalabel";
-			this.activethingsalphalabel.Size = new System.Drawing.Size(21, 13);
-			this.activethingsalphalabel.TabIndex = 48;
-			this.activethingsalphalabel.Text = "0%";
-			// 
-			// label31
-			// 
-			this.label31.AutoSize = true;
-			this.label31.Location = new System.Drawing.Point(12, 68);
-			this.label31.Name = "label31";
-			this.label31.Size = new System.Drawing.Size(176, 13);
-			this.label31.TabIndex = 47;
-			this.label31.Text = "Things transparency (Things mode):";
-			this.label31.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			this.toolTip1.SetToolTip(this.label31, "Sets Things transparency in all classic\r\nmodes except Things mode");
-			// 
-			// cbMarkExtraFloors
-			// 
-			this.cbMarkExtraFloors.AutoSize = true;
-			this.cbMarkExtraFloors.Location = new System.Drawing.Point(18, 466);
-			this.cbMarkExtraFloors.Name = "cbMarkExtraFloors";
-			this.cbMarkExtraFloors.Size = new System.Drawing.Size(175, 17);
-			this.cbMarkExtraFloors.TabIndex = 1;
-			this.cbMarkExtraFloors.Text = "Mark 3D floors in classic modes";
-			this.toolTip1.SetToolTip(this.cbMarkExtraFloors, "When enabled, linedefs of sectors with 3d floors will be marked using \"3D Floors\"" +
-					" color.");
-			this.cbMarkExtraFloors.UseVisualStyleBackColor = true;
-			// 
-			// activethingsalpha
-			// 
-			this.activethingsalpha.BackColor = System.Drawing.SystemColors.Window;
-			this.activethingsalpha.LargeChange = 3;
-			this.activethingsalpha.Location = new System.Drawing.Point(199, 57);
-			this.activethingsalpha.Name = "activethingsalpha";
-			this.activethingsalpha.Size = new System.Drawing.Size(154, 45);
-			this.activethingsalpha.TabIndex = 1;
-			this.activethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.activethingsalpha.ValueChanged += new System.EventHandler(this.activethingsalpha_ValueChanged);
-			// 
-			// hiddenthingsalphalabel
-			// 
-			this.hiddenthingsalphalabel.AutoSize = true;
-			this.hiddenthingsalphalabel.Location = new System.Drawing.Point(359, 158);
-			this.hiddenthingsalphalabel.Name = "hiddenthingsalphalabel";
-			this.hiddenthingsalphalabel.Size = new System.Drawing.Size(21, 13);
-			this.hiddenthingsalphalabel.TabIndex = 45;
-			this.hiddenthingsalphalabel.Text = "0%";
-			// 
-			// label32
-			// 
-			this.label32.AutoSize = true;
-			this.label32.Location = new System.Drawing.Point(49, 158);
-			this.label32.Name = "label32";
-			this.label32.Size = new System.Drawing.Size(139, 13);
-			this.label32.TabIndex = 44;
-			this.label32.Text = "Hidden things transparency:";
-			this.label32.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			this.toolTip1.SetToolTip(this.label32, "Sets transparency of things hidden \r\nby Things Filter in Things mode");
-			// 
-			// inactivethingsalphalabel
-			// 
-			this.inactivethingsalphalabel.AutoSize = true;
-			this.inactivethingsalphalabel.Location = new System.Drawing.Point(359, 113);
-			this.inactivethingsalphalabel.Name = "inactivethingsalphalabel";
-			this.inactivethingsalphalabel.Size = new System.Drawing.Size(21, 13);
-			this.inactivethingsalphalabel.TabIndex = 42;
-			this.inactivethingsalphalabel.Text = "0%";
-			// 
-			// label30
-			// 
-			this.label30.AutoSize = true;
-			this.label30.Location = new System.Drawing.Point(15, 113);
-			this.label30.Name = "label30";
-			this.label30.Size = new System.Drawing.Size(173, 13);
-			this.label30.TabIndex = 41;
-			this.label30.Text = "Things transparency (other modes):";
-			this.label30.TextAlign = System.Drawing.ContentAlignment.TopRight;
-			this.toolTip1.SetToolTip(this.label30, "Sets Things transparency in all classic\r\nmodes except Things mode");
-			// 
-			// labelantialiasing
-			// 
-			this.labelantialiasing.AutoSize = true;
-			this.labelantialiasing.Location = new System.Drawing.Point(359, 338);
-			this.labelantialiasing.Name = "labelantialiasing";
-			this.labelantialiasing.Size = new System.Drawing.Size(54, 13);
-			this.labelantialiasing.TabIndex = 39;
-			this.labelantialiasing.Text = "8 samples";
-			// 
-			// antialiasing
-			// 
-			this.antialiasing.BackColor = System.Drawing.SystemColors.Window;
-			this.antialiasing.LargeChange = 1;
-			this.antialiasing.Location = new System.Drawing.Point(199, 327);
-			this.antialiasing.Maximum = 3;
-			this.antialiasing.Name = "antialiasing";
-			this.antialiasing.Size = new System.Drawing.Size(154, 45);
-			this.antialiasing.TabIndex = 9;
-			this.antialiasing.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.antialiasing.Value = 3;
-			this.antialiasing.ValueChanged += new System.EventHandler(this.antialiasing_ValueChanged);
-			// 
-			// labelanisotropicfiltering
-			// 
-			this.labelanisotropicfiltering.AutoSize = true;
-			this.labelanisotropicfiltering.Location = new System.Drawing.Point(359, 293);
-			this.labelanisotropicfiltering.Name = "labelanisotropicfiltering";
-			this.labelanisotropicfiltering.Size = new System.Drawing.Size(24, 13);
-			this.labelanisotropicfiltering.TabIndex = 36;
-			this.labelanisotropicfiltering.Text = "16x";
-			// 
-			// anisotropicfiltering
-			// 
-			this.anisotropicfiltering.BackColor = System.Drawing.SystemColors.Window;
-			this.anisotropicfiltering.LargeChange = 1;
-			this.anisotropicfiltering.Location = new System.Drawing.Point(199, 282);
-			this.anisotropicfiltering.Maximum = 4;
-			this.anisotropicfiltering.Name = "anisotropicfiltering";
-			this.anisotropicfiltering.Size = new System.Drawing.Size(154, 45);
-			this.anisotropicfiltering.TabIndex = 8;
-			this.anisotropicfiltering.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.anisotropicfiltering.Value = 4;
-			this.anisotropicfiltering.ValueChanged += new System.EventHandler(this.anisotropicfiltering_ValueChanged);
-			// 
-			// cbOldHighlightMode
-			// 
-			this.cbOldHighlightMode.AutoSize = true;
-			this.cbOldHighlightMode.Location = new System.Drawing.Point(229, 443);
-			this.cbOldHighlightMode.Name = "cbOldHighlightMode";
-			this.cbOldHighlightMode.Size = new System.Drawing.Size(207, 17);
-			this.cbOldHighlightMode.TabIndex = 15;
-			this.cbOldHighlightMode.Text = "Always show selection in visual modes";
-			this.toolTip1.SetToolTip(this.cbOldHighlightMode, "If enabled, selected surfaces will be highlighted in Visual mode\r\neven if \"Show h" +
-					"ighlight\" mode is disabled \r\n(Doom Builder 2 behaviour).");
-			this.cbOldHighlightMode.UseVisualStyleBackColor = true;
-			// 
-			// labelDynLightCount
-			// 
-			this.labelDynLightCount.AutoSize = true;
-			this.labelDynLightCount.Location = new System.Drawing.Point(359, 248);
-			this.labelDynLightCount.Name = "labelDynLightCount";
-			this.labelDynLightCount.Size = new System.Drawing.Size(19, 13);
-			this.labelDynLightCount.TabIndex = 26;
-			this.labelDynLightCount.Text = "16";
-			// 
-			// tbDynLightCount
-			// 
-			this.tbDynLightCount.BackColor = System.Drawing.SystemColors.Window;
-			this.tbDynLightCount.LargeChange = 1;
-			this.tbDynLightCount.Location = new System.Drawing.Point(199, 237);
-			this.tbDynLightCount.Maximum = 8;
-			this.tbDynLightCount.Minimum = 1;
-			this.tbDynLightCount.Name = "tbDynLightCount";
-			this.tbDynLightCount.Size = new System.Drawing.Size(154, 45);
-			this.tbDynLightCount.TabIndex = 5;
-			this.tbDynLightCount.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.tbDynLightCount.Value = 1;
-			this.tbDynLightCount.ValueChanged += new System.EventHandler(this.tbDynLightCount_ValueChanged);
-			// 
-			// imagebrightness
-			// 
-			this.imagebrightness.BackColor = System.Drawing.SystemColors.Window;
-			this.imagebrightness.LargeChange = 3;
-			this.imagebrightness.Location = new System.Drawing.Point(199, 192);
-			this.imagebrightness.Name = "imagebrightness";
-			this.imagebrightness.Size = new System.Drawing.Size(154, 45);
-			this.imagebrightness.TabIndex = 4;
-			this.imagebrightness.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.imagebrightness.ValueChanged += new System.EventHandler(this.imagebrightness_ValueChanged);
-			// 
-			// animatevisualselection
-			// 
-			this.animatevisualselection.AutoSize = true;
-			this.animatevisualselection.Location = new System.Drawing.Point(229, 420);
-			this.animatevisualselection.Name = "animatevisualselection";
-			this.animatevisualselection.Size = new System.Drawing.Size(190, 17);
-			this.animatevisualselection.TabIndex = 14;
-			this.animatevisualselection.Text = "Animated selection in visual modes";
-			this.animatevisualselection.UseVisualStyleBackColor = true;
-			// 
-			// hiddenthingsalpha
-			// 
-			this.hiddenthingsalpha.BackColor = System.Drawing.SystemColors.Window;
-			this.hiddenthingsalpha.LargeChange = 3;
-			this.hiddenthingsalpha.Location = new System.Drawing.Point(199, 147);
-			this.hiddenthingsalpha.Name = "hiddenthingsalpha";
-			this.hiddenthingsalpha.Size = new System.Drawing.Size(154, 45);
-			this.hiddenthingsalpha.TabIndex = 3;
-			this.hiddenthingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.hiddenthingsalpha.ValueChanged += new System.EventHandler(this.hiddenthingsalpha_ValueChanged);
-			// 
-			// inactivethingsalpha
-			// 
-			this.inactivethingsalpha.BackColor = System.Drawing.SystemColors.Window;
-			this.inactivethingsalpha.LargeChange = 3;
-			this.inactivethingsalpha.Location = new System.Drawing.Point(199, 102);
-			this.inactivethingsalpha.Name = "inactivethingsalpha";
-			this.inactivethingsalpha.Size = new System.Drawing.Size(154, 45);
-			this.inactivethingsalpha.TabIndex = 2;
-			this.inactivethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
-			this.inactivethingsalpha.ValueChanged += new System.EventHandler(this.inactivethingsalpha_ValueChanged);
-			// 
-			// visualbilinear
-			// 
-			this.visualbilinear.AutoSize = true;
-			this.visualbilinear.Location = new System.Drawing.Point(18, 443);
-			this.visualbilinear.Name = "visualbilinear";
-			this.visualbilinear.Size = new System.Drawing.Size(171, 17);
-			this.visualbilinear.TabIndex = 12;
-			this.visualbilinear.Text = "Bilinear filtering in visual modes";
-			this.visualbilinear.UseVisualStyleBackColor = true;
-			// 
-			// classicbilinear
-			// 
-			this.classicbilinear.AutoSize = true;
-			this.classicbilinear.Location = new System.Drawing.Point(18, 420);
-			this.classicbilinear.Name = "classicbilinear";
-			this.classicbilinear.Size = new System.Drawing.Size(176, 17);
-			this.classicbilinear.TabIndex = 11;
-			this.classicbilinear.Text = "Bilinear filtering in classic modes";
-			this.classicbilinear.UseVisualStyleBackColor = true;
-			// 
-			// imagebrightnesslabel
-			// 
-			this.imagebrightnesslabel.AutoSize = true;
-			this.imagebrightnesslabel.Location = new System.Drawing.Point(360, 203);
-			this.imagebrightnesslabel.Name = "imagebrightnesslabel";
-			this.imagebrightnesslabel.Size = new System.Drawing.Size(30, 13);
-			this.imagebrightnesslabel.TabIndex = 22;
-			this.imagebrightnesslabel.Text = "+ 0 y";
-			// 
-			// tabscripteditor
-			// 
-			this.tabscripteditor.Controls.Add(this.groupBox9);
-			this.tabscripteditor.Controls.Add(this.groupBox8);
-			this.tabscripteditor.Controls.Add(this.groupBox7);
-			this.tabscripteditor.Controls.Add(this.groupBox6);
-			this.tabscripteditor.Controls.Add(this.previewgroup);
-			this.tabscripteditor.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabscripteditor.Location = new System.Drawing.Point(4, 22);
-			this.tabscripteditor.Name = "tabscripteditor";
-			this.tabscripteditor.Size = new System.Drawing.Size(682, 510);
-			this.tabscripteditor.TabIndex = 4;
-			this.tabscripteditor.Text = "Script Editor";
-			this.tabscripteditor.UseVisualStyleBackColor = true;
-			// 
-			// groupBox9
-			// 
-			this.groupBox9.Controls.Add(this.scriptshowfolding);
-			this.groupBox9.Controls.Add(this.scriptshowlinenumbers);
-			this.groupBox9.Location = new System.Drawing.Point(217, 260);
-			this.groupBox9.Name = "groupBox9";
-			this.groupBox9.Size = new System.Drawing.Size(457, 78);
-			this.groupBox9.TabIndex = 3;
-			this.groupBox9.TabStop = false;
-			this.groupBox9.Text = " Appearance ";
-			// 
-			// scriptshowfolding
-			// 
-			this.scriptshowfolding.AutoSize = true;
-			this.scriptshowfolding.Location = new System.Drawing.Point(19, 49);
-			this.scriptshowfolding.Name = "scriptshowfolding";
-			this.scriptshowfolding.Size = new System.Drawing.Size(120, 17);
-			this.scriptshowfolding.TabIndex = 1;
-			this.scriptshowfolding.Text = "Enable code folding";
-			this.scriptshowfolding.UseVisualStyleBackColor = true;
-			this.scriptshowfolding.CheckedChanged += new System.EventHandler(this.scriptshowfolding_CheckedChanged);
-			// 
-			// scriptshowlinenumbers
-			// 
-			this.scriptshowlinenumbers.AutoSize = true;
-			this.scriptshowlinenumbers.Location = new System.Drawing.Point(19, 26);
-			this.scriptshowlinenumbers.Name = "scriptshowlinenumbers";
-			this.scriptshowlinenumbers.Size = new System.Drawing.Size(115, 17);
-			this.scriptshowlinenumbers.TabIndex = 0;
-			this.scriptshowlinenumbers.Text = "Show line numbers";
-			this.scriptshowlinenumbers.UseVisualStyleBackColor = true;
-			this.scriptshowlinenumbers.CheckedChanged += new System.EventHandler(this.scriptshowlinenumbers_CheckedChanged);
-			// 
-			// groupBox8
-			// 
-			this.groupBox8.Controls.Add(this.scriptautoshowautocompletion);
-			this.groupBox8.Controls.Add(this.scriptautoclosebrackets);
-			this.groupBox8.Controls.Add(this.scriptusetabs);
-			this.groupBox8.Controls.Add(this.scriptallmanstyle);
-			this.groupBox8.Controls.Add(this.label10);
-			this.groupBox8.Controls.Add(this.scriptautoindent);
-			this.groupBox8.Controls.Add(this.scripttabwidth);
-			this.groupBox8.Location = new System.Drawing.Point(217, 104);
-			this.groupBox8.Name = "groupBox8";
-			this.groupBox8.Size = new System.Drawing.Size(457, 148);
-			this.groupBox8.TabIndex = 2;
-			this.groupBox8.TabStop = false;
-			this.groupBox8.Text = " Formatting ";
-			// 
-			// scriptautoshowautocompletion
-			// 
-			this.scriptautoshowautocompletion.AutoSize = true;
-			this.scriptautoshowautocompletion.Location = new System.Drawing.Point(19, 118);
-			this.scriptautoshowautocompletion.Name = "scriptautoshowautocompletion";
-			this.scriptautoshowautocompletion.Size = new System.Drawing.Size(169, 17);
-			this.scriptautoshowautocompletion.TabIndex = 5;
-			this.scriptautoshowautocompletion.Text = "Auto show auto-completion list";
-			this.scriptautoshowautocompletion.UseVisualStyleBackColor = true;
-			// 
-			// scriptautoclosebrackets
-			// 
-			this.scriptautoclosebrackets.AutoSize = true;
-			this.scriptautoclosebrackets.Location = new System.Drawing.Point(19, 72);
-			this.scriptautoclosebrackets.Name = "scriptautoclosebrackets";
-			this.scriptautoclosebrackets.Size = new System.Drawing.Size(120, 17);
-			this.scriptautoclosebrackets.TabIndex = 3;
-			this.scriptautoclosebrackets.Text = "Auto-close brackets";
-			this.toolTip1.SetToolTip(this.scriptautoclosebrackets, "When enabled, the editor will automatically\r\ninsert closing bracket if opening br" +
-					"acket was typed.");
-			this.scriptautoclosebrackets.UseVisualStyleBackColor = true;
-			// 
-			// scriptusetabs
-			// 
-			this.scriptusetabs.AutoSize = true;
-			this.scriptusetabs.Location = new System.Drawing.Point(19, 26);
-			this.scriptusetabs.Name = "scriptusetabs";
-			this.scriptusetabs.Size = new System.Drawing.Size(68, 17);
-			this.scriptusetabs.TabIndex = 0;
-			this.scriptusetabs.Text = "Use tabs";
-			this.scriptusetabs.UseVisualStyleBackColor = true;
-			// 
-			// scriptallmanstyle
-			// 
-			this.scriptallmanstyle.AutoSize = true;
-			this.scriptallmanstyle.Location = new System.Drawing.Point(19, 95);
-			this.scriptallmanstyle.Name = "scriptallmanstyle";
-			this.scriptallmanstyle.Size = new System.Drawing.Size(119, 17);
-			this.scriptallmanstyle.TabIndex = 4;
-			this.scriptallmanstyle.Text = "Allman-style bracing";
-			this.toolTip1.SetToolTip(this.scriptallmanstyle, resources.GetString("scriptallmanstyle.ToolTip"));
-			this.scriptallmanstyle.UseVisualStyleBackColor = true;
-			// 
-			// label10
-			// 
-			this.label10.AutoSize = true;
-			this.label10.Location = new System.Drawing.Point(121, 27);
-			this.label10.Name = "label10";
-			this.label10.Size = new System.Drawing.Size(57, 13);
-			this.label10.TabIndex = 30;
-			this.label10.Text = "Tab width:";
-			// 
-			// scriptautoindent
-			// 
-			this.scriptautoindent.AutoSize = true;
-			this.scriptautoindent.Location = new System.Drawing.Point(19, 49);
-			this.scriptautoindent.Name = "scriptautoindent";
-			this.scriptautoindent.Size = new System.Drawing.Size(80, 17);
-			this.scriptautoindent.TabIndex = 2;
-			this.scriptautoindent.Text = "Auto indent";
-			this.scriptautoindent.UseVisualStyleBackColor = true;
-			// 
-			// scripttabwidth
-			// 
-			this.scripttabwidth.AllowDecimal = false;
-			this.scripttabwidth.AllowExpressions = false;
-			this.scripttabwidth.AllowNegative = false;
-			this.scripttabwidth.AllowRelative = false;
-			this.scripttabwidth.ButtonStep = 2;
-			this.scripttabwidth.ButtonStepBig = 10F;
-			this.scripttabwidth.ButtonStepFloat = 1F;
-			this.scripttabwidth.ButtonStepSmall = 0.1F;
-			this.scripttabwidth.ButtonStepsUseModifierKeys = false;
-			this.scripttabwidth.ButtonStepsWrapAround = false;
-			this.scripttabwidth.Location = new System.Drawing.Point(181, 22);
-			this.scripttabwidth.Name = "scripttabwidth";
-			this.scripttabwidth.Size = new System.Drawing.Size(71, 24);
-			this.scripttabwidth.StepValues = null;
-			this.scripttabwidth.TabIndex = 1;
-			this.scripttabwidth.WhenTextChanged += new System.EventHandler(this.scripttabwidth_WhenTextChanged);
-			// 
-			// groupBox7
-			// 
-			this.groupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.groupBox7.Controls.Add(this.label3);
-			this.groupBox7.Controls.Add(this.scriptfontname);
-			this.groupBox7.Controls.Add(this.scriptfontbold);
-			this.groupBox7.Controls.Add(this.label8);
-			this.groupBox7.Controls.Add(this.scriptfontsize);
-			this.groupBox7.Location = new System.Drawing.Point(217, 8);
-			this.groupBox7.Name = "groupBox7";
-			this.groupBox7.Size = new System.Drawing.Size(457, 90);
-			this.groupBox7.TabIndex = 1;
-			this.groupBox7.TabStop = false;
-			this.groupBox7.Text = " Font ";
-			// 
-			// label3
-			// 
-			this.label3.AutoSize = true;
-			this.label3.Location = new System.Drawing.Point(16, 27);
-			this.label3.Name = "label3";
-			this.label3.Size = new System.Drawing.Size(31, 13);
-			this.label3.TabIndex = 24;
-			this.label3.Text = "Font:";
-			// 
-			// scriptfontname
-			// 
-			this.scriptfontname.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.scriptfontname.FormattingEnabled = true;
-			this.scriptfontname.Location = new System.Drawing.Point(53, 24);
-			this.scriptfontname.Name = "scriptfontname";
-			this.scriptfontname.Size = new System.Drawing.Size(199, 21);
-			this.scriptfontname.Sorted = true;
-			this.scriptfontname.TabIndex = 0;
-			this.scriptfontname.SelectedIndexChanged += new System.EventHandler(this.scriptfontname_SelectedIndexChanged);
-			// 
-			// scriptfontbold
-			// 
-			this.scriptfontbold.AutoSize = true;
-			this.scriptfontbold.Location = new System.Drawing.Point(165, 56);
-			this.scriptfontbold.Name = "scriptfontbold";
-			this.scriptfontbold.Size = new System.Drawing.Size(47, 17);
-			this.scriptfontbold.TabIndex = 2;
-			this.scriptfontbold.Text = "Bold";
-			this.scriptfontbold.UseVisualStyleBackColor = true;
-			this.scriptfontbold.CheckedChanged += new System.EventHandler(this.scriptfontbold_CheckedChanged);
-			// 
-			// label8
-			// 
-			this.label8.AutoSize = true;
-			this.label8.Location = new System.Drawing.Point(16, 56);
-			this.label8.Name = "label8";
-			this.label8.Size = new System.Drawing.Size(30, 13);
-			this.label8.TabIndex = 28;
-			this.label8.Text = "Size:";
-			// 
-			// scriptfontsize
-			// 
-			this.scriptfontsize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.scriptfontsize.FormattingEnabled = true;
-			this.scriptfontsize.Items.AddRange(new object[] {
+            this.listactions.FullRowSelect = true;
+            this.listactions.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
+            this.listactions.HideSelection = false;
+            this.listactions.Location = new System.Drawing.Point(11, 42);
+            this.listactions.Margin = new System.Windows.Forms.Padding(8, 9, 8, 9);
+            this.listactions.MultiSelect = false;
+            this.listactions.Name = "listactions";
+            this.listactions.Size = new System.Drawing.Size(352, 458);
+            this.listactions.Sorting = System.Windows.Forms.SortOrder.Ascending;
+            this.listactions.TabIndex = 0;
+            this.listactions.TabStop = false;
+            this.listactions.UseCompatibleStateImageBehavior = false;
+            this.listactions.View = System.Windows.Forms.View.Details;
+            this.listactions.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.listactions_ItemSelectionChanged);
+            this.listactions.KeyUp += new System.Windows.Forms.KeyEventHandler(this.listactions_KeyUp);
+            this.listactions.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listactions_MouseUp);
+            // 
+            // columncontrolaction
+            // 
+            this.columncontrolaction.Text = "Action";
+            this.columncontrolaction.Width = 200;
+            // 
+            // columncontrolkey
+            // 
+            this.columncontrolkey.Text = "Key";
+            this.columncontrolkey.Width = 130;
+            // 
+            // actioncontrolpanel
+            // 
+            this.actioncontrolpanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.actioncontrolpanel.Controls.Add(this.actiondescription);
+            this.actioncontrolpanel.Controls.Add(this.keyusedlist);
+            this.actioncontrolpanel.Controls.Add(this.keyusedlabel);
+            this.actioncontrolpanel.Controls.Add(this.disregardshiftlabel);
+            this.actioncontrolpanel.Controls.Add(this.actioncontrol);
+            this.actioncontrolpanel.Controls.Add(label7);
+            this.actioncontrolpanel.Controls.Add(this.actiontitle);
+            this.actioncontrolpanel.Controls.Add(this.actioncontrolclear);
+            this.actioncontrolpanel.Controls.Add(this.actionkey);
+            this.actioncontrolpanel.Controls.Add(label5);
+            this.actioncontrolpanel.Enabled = false;
+            this.actioncontrolpanel.Location = new System.Drawing.Point(377, 12);
+            this.actioncontrolpanel.Margin = new System.Windows.Forms.Padding(6);
+            this.actioncontrolpanel.Name = "actioncontrolpanel";
+            this.actioncontrolpanel.Size = new System.Drawing.Size(296, 488);
+            this.actioncontrolpanel.TabIndex = 9;
+            this.actioncontrolpanel.TabStop = false;
+            this.actioncontrolpanel.Text = " Action control ";
+            // 
+            // actiondescription
+            // 
+            this.actiondescription.BorderStyle = System.Windows.Forms.BorderStyle.None;
+            this.actiondescription.Location = new System.Drawing.Point(20, 47);
+            this.actiondescription.Multiline = true;
+            this.actiondescription.Name = "actiondescription";
+            this.actiondescription.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+            this.actiondescription.Size = new System.Drawing.Size(266, 72);
+            this.actiondescription.TabIndex = 12;
+            // 
+            // keyusedlist
+            // 
+            this.keyusedlist.BackColor = System.Drawing.SystemColors.Control;
+            this.keyusedlist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+            this.keyusedlist.FormattingEnabled = true;
+            this.keyusedlist.IntegralHeight = false;
+            this.keyusedlist.Location = new System.Drawing.Point(23, 307);
+            this.keyusedlist.Name = "keyusedlist";
+            this.keyusedlist.SelectionMode = System.Windows.Forms.SelectionMode.None;
+            this.keyusedlist.Size = new System.Drawing.Size(263, 115);
+            this.keyusedlist.Sorted = true;
+            this.keyusedlist.TabIndex = 11;
+            this.keyusedlist.Visible = false;
+            // 
+            // disregardshiftlabel
+            // 
+            this.disregardshiftlabel.Location = new System.Drawing.Point(20, 224);
+            this.disregardshiftlabel.Name = "disregardshiftlabel";
+            this.disregardshiftlabel.Size = new System.Drawing.Size(266, 47);
+            this.disregardshiftlabel.TabIndex = 9;
+            this.disregardshiftlabel.Tag = "The selected action uses %s to modify its behavior. These modifiers can not be us" +
+    "ed in a key combination for this action.";
+            this.disregardshiftlabel.Text = "The selected action uses Shift, Alt and Control to modify its behavior. These mod" +
+    "ifiers can not be used in a key combination for this action.";
+            this.disregardshiftlabel.Visible = false;
+            // 
+            // actioncontrol
+            // 
+            this.actioncontrol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.actioncontrol.FormattingEnabled = true;
+            this.actioncontrol.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.actioncontrol.Location = new System.Drawing.Point(23, 190);
+            this.actioncontrol.Name = "actioncontrol";
+            this.actioncontrol.Size = new System.Drawing.Size(196, 21);
+            this.actioncontrol.TabIndex = 8;
+            this.actioncontrol.TabStop = false;
+            this.actioncontrol.SelectedIndexChanged += new System.EventHandler(this.actioncontrol_SelectedIndexChanged);
+            // 
+            // actiontitle
+            // 
+            this.actiontitle.AutoSize = true;
+            this.actiontitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.actiontitle.Location = new System.Drawing.Point(17, 29);
+            this.actiontitle.Name = "actiontitle";
+            this.actiontitle.Size = new System.Drawing.Size(176, 13);
+            this.actiontitle.TabIndex = 1;
+            this.actiontitle.Text = "(select an action from the list)";
+            this.actiontitle.UseMnemonic = false;
+            // 
+            // actioncontrolclear
+            // 
+            this.actioncontrolclear.Image = global::CodeImp.DoomBuilder.Properties.Resources.SearchClear;
+            this.actioncontrolclear.Location = new System.Drawing.Point(193, 137);
+            this.actioncontrolclear.Name = "actioncontrolclear";
+            this.actioncontrolclear.Size = new System.Drawing.Size(26, 25);
+            this.actioncontrolclear.TabIndex = 6;
+            this.actioncontrolclear.TabStop = false;
+            this.actioncontrolclear.UseVisualStyleBackColor = true;
+            this.actioncontrolclear.Click += new System.EventHandler(this.actioncontrolclear_Click);
+            // 
+            // actionkey
+            // 
+            this.actionkey.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.actionkey.Location = new System.Drawing.Point(23, 140);
+            this.actionkey.Name = "actionkey";
+            this.actionkey.Size = new System.Drawing.Size(163, 20);
+            this.actionkey.TabIndex = 5;
+            this.actionkey.TabStop = false;
+            this.actionkey.KeyDown += new System.Windows.Forms.KeyEventHandler(this.actionkey_KeyDown);
+            // 
+            // tabcolors
+            // 
+            this.tabcolors.Controls.Add(this.appearancegroup1);
+            this.tabcolors.Controls.Add(this.colorsgroup1);
+            this.tabcolors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabcolors.Location = new System.Drawing.Point(4, 22);
+            this.tabcolors.Name = "tabcolors";
+            this.tabcolors.Padding = new System.Windows.Forms.Padding(5);
+            this.tabcolors.Size = new System.Drawing.Size(682, 510);
+            this.tabcolors.TabIndex = 2;
+            this.tabcolors.Text = "Appearance";
+            this.tabcolors.UseVisualStyleBackColor = true;
+            // 
+            // appearancegroup1
+            // 
+            this.appearancegroup1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.appearancegroup1.Controls.Add(this.activethingsalphalabel);
+            this.appearancegroup1.Controls.Add(this.label31);
+            this.appearancegroup1.Controls.Add(this.cbMarkExtraFloors);
+            this.appearancegroup1.Controls.Add(this.activethingsalpha);
+            this.appearancegroup1.Controls.Add(this.hiddenthingsalphalabel);
+            this.appearancegroup1.Controls.Add(this.label32);
+            this.appearancegroup1.Controls.Add(this.inactivethingsalphalabel);
+            this.appearancegroup1.Controls.Add(this.label30);
+            this.appearancegroup1.Controls.Add(label29);
+            this.appearancegroup1.Controls.Add(this.labelantialiasing);
+            this.appearancegroup1.Controls.Add(this.antialiasing);
+            this.appearancegroup1.Controls.Add(label27);
+            this.appearancegroup1.Controls.Add(this.labelanisotropicfiltering);
+            this.appearancegroup1.Controls.Add(this.anisotropicfiltering);
+            this.appearancegroup1.Controls.Add(this.cbOldHighlightMode);
+            this.appearancegroup1.Controls.Add(this.cbStretchView);
+            this.appearancegroup1.Controls.Add(this.doublesidedalphalabel);
+            this.appearancegroup1.Controls.Add(this.qualitydisplay);
+            this.appearancegroup1.Controls.Add(this.label2);
+            this.appearancegroup1.Controls.Add(label18);
+            this.appearancegroup1.Controls.Add(this.labelDynLightCount);
+            this.appearancegroup1.Controls.Add(this.tbDynLightCount);
+            this.appearancegroup1.Controls.Add(this.imagebrightness);
+            this.appearancegroup1.Controls.Add(this.animatevisualselection);
+            this.appearancegroup1.Controls.Add(this.hiddenthingsalpha);
+            this.appearancegroup1.Controls.Add(this.inactivethingsalpha);
+            this.appearancegroup1.Controls.Add(this.doublesidedalpha);
+            this.appearancegroup1.Controls.Add(this.visualbilinear);
+            this.appearancegroup1.Controls.Add(label1);
+            this.appearancegroup1.Controls.Add(this.classicbilinear);
+            this.appearancegroup1.Controls.Add(this.imagebrightnesslabel);
+            this.appearancegroup1.Location = new System.Drawing.Point(217, 8);
+            this.appearancegroup1.Name = "appearancegroup1";
+            this.appearancegroup1.Size = new System.Drawing.Size(457, 493);
+            this.appearancegroup1.TabIndex = 2;
+            this.appearancegroup1.TabStop = false;
+            this.appearancegroup1.Text = " Rendering ";
+            // 
+            // activethingsalphalabel
+            // 
+            this.activethingsalphalabel.AutoSize = true;
+            this.activethingsalphalabel.Location = new System.Drawing.Point(359, 68);
+            this.activethingsalphalabel.Name = "activethingsalphalabel";
+            this.activethingsalphalabel.Size = new System.Drawing.Size(21, 13);
+            this.activethingsalphalabel.TabIndex = 48;
+            this.activethingsalphalabel.Text = "0%";
+            // 
+            // label31
+            // 
+            this.label31.AutoSize = true;
+            this.label31.Location = new System.Drawing.Point(12, 68);
+            this.label31.Name = "label31";
+            this.label31.Size = new System.Drawing.Size(176, 13);
+            this.label31.TabIndex = 47;
+            this.label31.Text = "Things transparency (Things mode):";
+            this.label31.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            this.toolTip1.SetToolTip(this.label31, "Sets Things transparency in all classic\r\nmodes except Things mode");
+            // 
+            // cbMarkExtraFloors
+            // 
+            this.cbMarkExtraFloors.AutoSize = true;
+            this.cbMarkExtraFloors.Location = new System.Drawing.Point(18, 466);
+            this.cbMarkExtraFloors.Name = "cbMarkExtraFloors";
+            this.cbMarkExtraFloors.Size = new System.Drawing.Size(175, 17);
+            this.cbMarkExtraFloors.TabIndex = 1;
+            this.cbMarkExtraFloors.Text = "Mark 3D floors in classic modes";
+            this.toolTip1.SetToolTip(this.cbMarkExtraFloors, "When enabled, linedefs of sectors with 3d floors will be marked using \"3D Floors\"" +
+        " color.");
+            this.cbMarkExtraFloors.UseVisualStyleBackColor = true;
+            // 
+            // activethingsalpha
+            // 
+            this.activethingsalpha.BackColor = System.Drawing.SystemColors.Window;
+            this.activethingsalpha.LargeChange = 3;
+            this.activethingsalpha.Location = new System.Drawing.Point(199, 57);
+            this.activethingsalpha.Name = "activethingsalpha";
+            this.activethingsalpha.Size = new System.Drawing.Size(154, 42);
+            this.activethingsalpha.TabIndex = 1;
+            this.activethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.activethingsalpha.ValueChanged += new System.EventHandler(this.activethingsalpha_ValueChanged);
+            // 
+            // hiddenthingsalphalabel
+            // 
+            this.hiddenthingsalphalabel.AutoSize = true;
+            this.hiddenthingsalphalabel.Location = new System.Drawing.Point(359, 158);
+            this.hiddenthingsalphalabel.Name = "hiddenthingsalphalabel";
+            this.hiddenthingsalphalabel.Size = new System.Drawing.Size(21, 13);
+            this.hiddenthingsalphalabel.TabIndex = 45;
+            this.hiddenthingsalphalabel.Text = "0%";
+            // 
+            // label32
+            // 
+            this.label32.AutoSize = true;
+            this.label32.Location = new System.Drawing.Point(49, 158);
+            this.label32.Name = "label32";
+            this.label32.Size = new System.Drawing.Size(139, 13);
+            this.label32.TabIndex = 44;
+            this.label32.Text = "Hidden things transparency:";
+            this.label32.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            this.toolTip1.SetToolTip(this.label32, "Sets transparency of things hidden \r\nby Things Filter in Things mode");
+            // 
+            // inactivethingsalphalabel
+            // 
+            this.inactivethingsalphalabel.AutoSize = true;
+            this.inactivethingsalphalabel.Location = new System.Drawing.Point(359, 113);
+            this.inactivethingsalphalabel.Name = "inactivethingsalphalabel";
+            this.inactivethingsalphalabel.Size = new System.Drawing.Size(21, 13);
+            this.inactivethingsalphalabel.TabIndex = 42;
+            this.inactivethingsalphalabel.Text = "0%";
+            // 
+            // label30
+            // 
+            this.label30.AutoSize = true;
+            this.label30.Location = new System.Drawing.Point(15, 113);
+            this.label30.Name = "label30";
+            this.label30.Size = new System.Drawing.Size(173, 13);
+            this.label30.TabIndex = 41;
+            this.label30.Text = "Things transparency (other modes):";
+            this.label30.TextAlign = System.Drawing.ContentAlignment.TopRight;
+            this.toolTip1.SetToolTip(this.label30, "Sets Things transparency in all classic\r\nmodes except Things mode");
+            // 
+            // labelantialiasing
+            // 
+            this.labelantialiasing.AutoSize = true;
+            this.labelantialiasing.Location = new System.Drawing.Point(359, 338);
+            this.labelantialiasing.Name = "labelantialiasing";
+            this.labelantialiasing.Size = new System.Drawing.Size(54, 13);
+            this.labelantialiasing.TabIndex = 39;
+            this.labelantialiasing.Text = "8 samples";
+            // 
+            // antialiasing
+            // 
+            this.antialiasing.BackColor = System.Drawing.SystemColors.Window;
+            this.antialiasing.LargeChange = 1;
+            this.antialiasing.Location = new System.Drawing.Point(199, 327);
+            this.antialiasing.Maximum = 3;
+            this.antialiasing.Name = "antialiasing";
+            this.antialiasing.Size = new System.Drawing.Size(154, 42);
+            this.antialiasing.TabIndex = 9;
+            this.antialiasing.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.antialiasing.Value = 3;
+            this.antialiasing.ValueChanged += new System.EventHandler(this.antialiasing_ValueChanged);
+            // 
+            // labelanisotropicfiltering
+            // 
+            this.labelanisotropicfiltering.AutoSize = true;
+            this.labelanisotropicfiltering.Location = new System.Drawing.Point(359, 293);
+            this.labelanisotropicfiltering.Name = "labelanisotropicfiltering";
+            this.labelanisotropicfiltering.Size = new System.Drawing.Size(24, 13);
+            this.labelanisotropicfiltering.TabIndex = 36;
+            this.labelanisotropicfiltering.Text = "16x";
+            // 
+            // anisotropicfiltering
+            // 
+            this.anisotropicfiltering.BackColor = System.Drawing.SystemColors.Window;
+            this.anisotropicfiltering.LargeChange = 1;
+            this.anisotropicfiltering.Location = new System.Drawing.Point(199, 282);
+            this.anisotropicfiltering.Maximum = 4;
+            this.anisotropicfiltering.Name = "anisotropicfiltering";
+            this.anisotropicfiltering.Size = new System.Drawing.Size(154, 42);
+            this.anisotropicfiltering.TabIndex = 8;
+            this.anisotropicfiltering.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.anisotropicfiltering.Value = 4;
+            this.anisotropicfiltering.ValueChanged += new System.EventHandler(this.anisotropicfiltering_ValueChanged);
+            // 
+            // cbOldHighlightMode
+            // 
+            this.cbOldHighlightMode.AutoSize = true;
+            this.cbOldHighlightMode.Location = new System.Drawing.Point(229, 443);
+            this.cbOldHighlightMode.Name = "cbOldHighlightMode";
+            this.cbOldHighlightMode.Size = new System.Drawing.Size(207, 17);
+            this.cbOldHighlightMode.TabIndex = 15;
+            this.cbOldHighlightMode.Text = "Always show selection in visual modes";
+            this.toolTip1.SetToolTip(this.cbOldHighlightMode, "If enabled, selected surfaces will be highlighted in Visual mode\r\neven if \"Show h" +
+        "ighlight\" mode is disabled \r\n(Doom Builder 2 behaviour).");
+            this.cbOldHighlightMode.UseVisualStyleBackColor = true;
+            // 
+            // labelDynLightCount
+            // 
+            this.labelDynLightCount.AutoSize = true;
+            this.labelDynLightCount.Location = new System.Drawing.Point(359, 248);
+            this.labelDynLightCount.Name = "labelDynLightCount";
+            this.labelDynLightCount.Size = new System.Drawing.Size(19, 13);
+            this.labelDynLightCount.TabIndex = 26;
+            this.labelDynLightCount.Text = "16";
+            // 
+            // tbDynLightCount
+            // 
+            this.tbDynLightCount.BackColor = System.Drawing.SystemColors.Window;
+            this.tbDynLightCount.LargeChange = 1;
+            this.tbDynLightCount.Location = new System.Drawing.Point(199, 237);
+            this.tbDynLightCount.Maximum = 8;
+            this.tbDynLightCount.Minimum = 1;
+            this.tbDynLightCount.Name = "tbDynLightCount";
+            this.tbDynLightCount.Size = new System.Drawing.Size(154, 42);
+            this.tbDynLightCount.TabIndex = 5;
+            this.tbDynLightCount.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.tbDynLightCount.Value = 1;
+            this.tbDynLightCount.ValueChanged += new System.EventHandler(this.tbDynLightCount_ValueChanged);
+            // 
+            // imagebrightness
+            // 
+            this.imagebrightness.BackColor = System.Drawing.SystemColors.Window;
+            this.imagebrightness.LargeChange = 3;
+            this.imagebrightness.Location = new System.Drawing.Point(199, 192);
+            this.imagebrightness.Name = "imagebrightness";
+            this.imagebrightness.Size = new System.Drawing.Size(154, 42);
+            this.imagebrightness.TabIndex = 4;
+            this.imagebrightness.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.imagebrightness.ValueChanged += new System.EventHandler(this.imagebrightness_ValueChanged);
+            // 
+            // animatevisualselection
+            // 
+            this.animatevisualselection.AutoSize = true;
+            this.animatevisualselection.Location = new System.Drawing.Point(229, 420);
+            this.animatevisualselection.Name = "animatevisualselection";
+            this.animatevisualselection.Size = new System.Drawing.Size(190, 17);
+            this.animatevisualselection.TabIndex = 14;
+            this.animatevisualselection.Text = "Animated selection in visual modes";
+            this.animatevisualselection.UseVisualStyleBackColor = true;
+            // 
+            // hiddenthingsalpha
+            // 
+            this.hiddenthingsalpha.BackColor = System.Drawing.SystemColors.Window;
+            this.hiddenthingsalpha.LargeChange = 3;
+            this.hiddenthingsalpha.Location = new System.Drawing.Point(199, 147);
+            this.hiddenthingsalpha.Name = "hiddenthingsalpha";
+            this.hiddenthingsalpha.Size = new System.Drawing.Size(154, 42);
+            this.hiddenthingsalpha.TabIndex = 3;
+            this.hiddenthingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.hiddenthingsalpha.ValueChanged += new System.EventHandler(this.hiddenthingsalpha_ValueChanged);
+            // 
+            // inactivethingsalpha
+            // 
+            this.inactivethingsalpha.BackColor = System.Drawing.SystemColors.Window;
+            this.inactivethingsalpha.LargeChange = 3;
+            this.inactivethingsalpha.Location = new System.Drawing.Point(199, 102);
+            this.inactivethingsalpha.Name = "inactivethingsalpha";
+            this.inactivethingsalpha.Size = new System.Drawing.Size(154, 42);
+            this.inactivethingsalpha.TabIndex = 2;
+            this.inactivethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+            this.inactivethingsalpha.ValueChanged += new System.EventHandler(this.inactivethingsalpha_ValueChanged);
+            // 
+            // visualbilinear
+            // 
+            this.visualbilinear.AutoSize = true;
+            this.visualbilinear.Location = new System.Drawing.Point(18, 443);
+            this.visualbilinear.Name = "visualbilinear";
+            this.visualbilinear.Size = new System.Drawing.Size(171, 17);
+            this.visualbilinear.TabIndex = 12;
+            this.visualbilinear.Text = "Bilinear filtering in visual modes";
+            this.visualbilinear.UseVisualStyleBackColor = true;
+            // 
+            // classicbilinear
+            // 
+            this.classicbilinear.AutoSize = true;
+            this.classicbilinear.Location = new System.Drawing.Point(18, 420);
+            this.classicbilinear.Name = "classicbilinear";
+            this.classicbilinear.Size = new System.Drawing.Size(176, 17);
+            this.classicbilinear.TabIndex = 11;
+            this.classicbilinear.Text = "Bilinear filtering in classic modes";
+            this.classicbilinear.UseVisualStyleBackColor = true;
+            // 
+            // imagebrightnesslabel
+            // 
+            this.imagebrightnesslabel.AutoSize = true;
+            this.imagebrightnesslabel.Location = new System.Drawing.Point(360, 203);
+            this.imagebrightnesslabel.Name = "imagebrightnesslabel";
+            this.imagebrightnesslabel.Size = new System.Drawing.Size(30, 13);
+            this.imagebrightnesslabel.TabIndex = 22;
+            this.imagebrightnesslabel.Text = "+ 0 y";
+            // 
+            // tabscripteditor
+            // 
+            this.tabscripteditor.Controls.Add(this.groupBox9);
+            this.tabscripteditor.Controls.Add(this.groupBox8);
+            this.tabscripteditor.Controls.Add(this.groupBox7);
+            this.tabscripteditor.Controls.Add(this.groupBox6);
+            this.tabscripteditor.Controls.Add(this.previewgroup);
+            this.tabscripteditor.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabscripteditor.Location = new System.Drawing.Point(4, 22);
+            this.tabscripteditor.Name = "tabscripteditor";
+            this.tabscripteditor.Size = new System.Drawing.Size(682, 510);
+            this.tabscripteditor.TabIndex = 4;
+            this.tabscripteditor.Text = "Script Editor";
+            this.tabscripteditor.UseVisualStyleBackColor = true;
+            // 
+            // groupBox9
+            // 
+            this.groupBox9.Controls.Add(this.scriptshowfolding);
+            this.groupBox9.Controls.Add(this.scriptshowlinenumbers);
+            this.groupBox9.Location = new System.Drawing.Point(217, 260);
+            this.groupBox9.Name = "groupBox9";
+            this.groupBox9.Size = new System.Drawing.Size(457, 78);
+            this.groupBox9.TabIndex = 3;
+            this.groupBox9.TabStop = false;
+            this.groupBox9.Text = " Appearance ";
+            // 
+            // scriptshowfolding
+            // 
+            this.scriptshowfolding.AutoSize = true;
+            this.scriptshowfolding.Location = new System.Drawing.Point(19, 49);
+            this.scriptshowfolding.Name = "scriptshowfolding";
+            this.scriptshowfolding.Size = new System.Drawing.Size(120, 17);
+            this.scriptshowfolding.TabIndex = 1;
+            this.scriptshowfolding.Text = "Enable code folding";
+            this.scriptshowfolding.UseVisualStyleBackColor = true;
+            this.scriptshowfolding.CheckedChanged += new System.EventHandler(this.scriptshowfolding_CheckedChanged);
+            // 
+            // scriptshowlinenumbers
+            // 
+            this.scriptshowlinenumbers.AutoSize = true;
+            this.scriptshowlinenumbers.Location = new System.Drawing.Point(19, 26);
+            this.scriptshowlinenumbers.Name = "scriptshowlinenumbers";
+            this.scriptshowlinenumbers.Size = new System.Drawing.Size(115, 17);
+            this.scriptshowlinenumbers.TabIndex = 0;
+            this.scriptshowlinenumbers.Text = "Show line numbers";
+            this.scriptshowlinenumbers.UseVisualStyleBackColor = true;
+            this.scriptshowlinenumbers.CheckedChanged += new System.EventHandler(this.scriptshowlinenumbers_CheckedChanged);
+            // 
+            // groupBox8
+            // 
+            this.groupBox8.Controls.Add(this.scriptautoshowautocompletion);
+            this.groupBox8.Controls.Add(this.scriptautoclosebrackets);
+            this.groupBox8.Controls.Add(this.scriptusetabs);
+            this.groupBox8.Controls.Add(this.scriptallmanstyle);
+            this.groupBox8.Controls.Add(this.label10);
+            this.groupBox8.Controls.Add(this.scriptautoindent);
+            this.groupBox8.Controls.Add(this.scripttabwidth);
+            this.groupBox8.Location = new System.Drawing.Point(217, 104);
+            this.groupBox8.Name = "groupBox8";
+            this.groupBox8.Size = new System.Drawing.Size(457, 148);
+            this.groupBox8.TabIndex = 2;
+            this.groupBox8.TabStop = false;
+            this.groupBox8.Text = " Formatting ";
+            // 
+            // scriptautoshowautocompletion
+            // 
+            this.scriptautoshowautocompletion.AutoSize = true;
+            this.scriptautoshowautocompletion.Location = new System.Drawing.Point(19, 118);
+            this.scriptautoshowautocompletion.Name = "scriptautoshowautocompletion";
+            this.scriptautoshowautocompletion.Size = new System.Drawing.Size(169, 17);
+            this.scriptautoshowautocompletion.TabIndex = 5;
+            this.scriptautoshowautocompletion.Text = "Auto show auto-completion list";
+            this.scriptautoshowautocompletion.UseVisualStyleBackColor = true;
+            // 
+            // scriptautoclosebrackets
+            // 
+            this.scriptautoclosebrackets.AutoSize = true;
+            this.scriptautoclosebrackets.Location = new System.Drawing.Point(19, 72);
+            this.scriptautoclosebrackets.Name = "scriptautoclosebrackets";
+            this.scriptautoclosebrackets.Size = new System.Drawing.Size(120, 17);
+            this.scriptautoclosebrackets.TabIndex = 3;
+            this.scriptautoclosebrackets.Text = "Auto-close brackets";
+            this.toolTip1.SetToolTip(this.scriptautoclosebrackets, "When enabled, the editor will automatically\r\ninsert closing bracket if opening br" +
+        "acket was typed.");
+            this.scriptautoclosebrackets.UseVisualStyleBackColor = true;
+            // 
+            // scriptusetabs
+            // 
+            this.scriptusetabs.AutoSize = true;
+            this.scriptusetabs.Location = new System.Drawing.Point(19, 26);
+            this.scriptusetabs.Name = "scriptusetabs";
+            this.scriptusetabs.Size = new System.Drawing.Size(68, 17);
+            this.scriptusetabs.TabIndex = 0;
+            this.scriptusetabs.Text = "Use tabs";
+            this.scriptusetabs.UseVisualStyleBackColor = true;
+            // 
+            // scriptallmanstyle
+            // 
+            this.scriptallmanstyle.AutoSize = true;
+            this.scriptallmanstyle.Location = new System.Drawing.Point(19, 95);
+            this.scriptallmanstyle.Name = "scriptallmanstyle";
+            this.scriptallmanstyle.Size = new System.Drawing.Size(119, 17);
+            this.scriptallmanstyle.TabIndex = 4;
+            this.scriptallmanstyle.Text = "Allman-style bracing";
+            this.toolTip1.SetToolTip(this.scriptallmanstyle, resources.GetString("scriptallmanstyle.ToolTip"));
+            this.scriptallmanstyle.UseVisualStyleBackColor = true;
+            // 
+            // label10
+            // 
+            this.label10.AutoSize = true;
+            this.label10.Location = new System.Drawing.Point(121, 27);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(57, 13);
+            this.label10.TabIndex = 30;
+            this.label10.Text = "Tab width:";
+            // 
+            // scriptautoindent
+            // 
+            this.scriptautoindent.AutoSize = true;
+            this.scriptautoindent.Location = new System.Drawing.Point(19, 49);
+            this.scriptautoindent.Name = "scriptautoindent";
+            this.scriptautoindent.Size = new System.Drawing.Size(80, 17);
+            this.scriptautoindent.TabIndex = 2;
+            this.scriptautoindent.Text = "Auto indent";
+            this.scriptautoindent.UseVisualStyleBackColor = true;
+            // 
+            // scripttabwidth
+            // 
+            this.scripttabwidth.AllowDecimal = false;
+            this.scripttabwidth.AllowExpressions = false;
+            this.scripttabwidth.AllowNegative = false;
+            this.scripttabwidth.AllowRelative = false;
+            this.scripttabwidth.ButtonStep = 2;
+            this.scripttabwidth.ButtonStepBig = 10F;
+            this.scripttabwidth.ButtonStepFloat = 1F;
+            this.scripttabwidth.ButtonStepSmall = 0.1F;
+            this.scripttabwidth.ButtonStepsUseModifierKeys = false;
+            this.scripttabwidth.ButtonStepsWrapAround = false;
+            this.scripttabwidth.Location = new System.Drawing.Point(181, 22);
+            this.scripttabwidth.Name = "scripttabwidth";
+            this.scripttabwidth.Size = new System.Drawing.Size(71, 24);
+            this.scripttabwidth.StepValues = null;
+            this.scripttabwidth.TabIndex = 1;
+            this.scripttabwidth.WhenTextChanged += new System.EventHandler(this.scripttabwidth_WhenTextChanged);
+            // 
+            // groupBox7
+            // 
+            this.groupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.groupBox7.Controls.Add(this.label3);
+            this.groupBox7.Controls.Add(this.scriptfontname);
+            this.groupBox7.Controls.Add(this.scriptfontbold);
+            this.groupBox7.Controls.Add(this.label8);
+            this.groupBox7.Controls.Add(this.scriptfontsize);
+            this.groupBox7.Location = new System.Drawing.Point(217, 8);
+            this.groupBox7.Name = "groupBox7";
+            this.groupBox7.Size = new System.Drawing.Size(457, 90);
+            this.groupBox7.TabIndex = 1;
+            this.groupBox7.TabStop = false;
+            this.groupBox7.Text = " Font ";
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(16, 27);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(31, 13);
+            this.label3.TabIndex = 24;
+            this.label3.Text = "Font:";
+            // 
+            // scriptfontname
+            // 
+            this.scriptfontname.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.scriptfontname.FormattingEnabled = true;
+            this.scriptfontname.Location = new System.Drawing.Point(53, 24);
+            this.scriptfontname.Name = "scriptfontname";
+            this.scriptfontname.Size = new System.Drawing.Size(199, 21);
+            this.scriptfontname.Sorted = true;
+            this.scriptfontname.TabIndex = 0;
+            this.scriptfontname.SelectedIndexChanged += new System.EventHandler(this.scriptfontname_SelectedIndexChanged);
+            // 
+            // scriptfontbold
+            // 
+            this.scriptfontbold.AutoSize = true;
+            this.scriptfontbold.Location = new System.Drawing.Point(165, 56);
+            this.scriptfontbold.Name = "scriptfontbold";
+            this.scriptfontbold.Size = new System.Drawing.Size(47, 17);
+            this.scriptfontbold.TabIndex = 2;
+            this.scriptfontbold.Text = "Bold";
+            this.scriptfontbold.UseVisualStyleBackColor = true;
+            this.scriptfontbold.CheckedChanged += new System.EventHandler(this.scriptfontbold_CheckedChanged);
+            // 
+            // label8
+            // 
+            this.label8.AutoSize = true;
+            this.label8.Location = new System.Drawing.Point(16, 56);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(30, 13);
+            this.label8.TabIndex = 28;
+            this.label8.Text = "Size:";
+            // 
+            // scriptfontsize
+            // 
+            this.scriptfontsize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.scriptfontsize.FormattingEnabled = true;
+            this.scriptfontsize.Items.AddRange(new object[] {
             "7",
             "8",
             "9",
@@ -2017,412 +2029,412 @@ namespace CodeImp.DoomBuilder.Windows
             "36",
             "48",
             "72"});
-			this.scriptfontsize.Location = new System.Drawing.Point(53, 53);
-			this.scriptfontsize.Name = "scriptfontsize";
-			this.scriptfontsize.Size = new System.Drawing.Size(94, 21);
-			this.scriptfontsize.TabIndex = 1;
-			this.scriptfontsize.SelectedIndexChanged += new System.EventHandler(this.scriptfontsize_SelectedIndexChanged);
-			// 
-			// groupBox6
-			// 
-			this.groupBox6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)));
-			this.groupBox6.Controls.Add(this.colorproperties);
-			this.groupBox6.Controls.Add(this.label23);
-			this.groupBox6.Controls.Add(this.scriptcolorpresets);
-			this.groupBox6.Controls.Add(this.colorfoldback);
-			this.groupBox6.Controls.Add(this.colorfoldfore);
-			this.groupBox6.Controls.Add(this.colorindicator);
-			this.groupBox6.Controls.Add(this.colorwhitespace);
-			this.groupBox6.Controls.Add(this.colorbracebad);
-			this.groupBox6.Controls.Add(this.colorbrace);
-			this.groupBox6.Controls.Add(this.colorselectionback);
-			this.groupBox6.Controls.Add(this.colorselectionfore);
-			this.groupBox6.Controls.Add(this.colorincludes);
-			this.groupBox6.Controls.Add(this.colorstrings);
-			this.groupBox6.Controls.Add(this.colorscriptbackground);
-			this.groupBox6.Controls.Add(this.colorplaintext);
-			this.groupBox6.Controls.Add(this.colorcomments);
-			this.groupBox6.Controls.Add(this.colorlinenumbers);
-			this.groupBox6.Controls.Add(this.colorkeywords);
-			this.groupBox6.Controls.Add(this.colorliterals);
-			this.groupBox6.Controls.Add(this.colorconstants);
-			this.groupBox6.Location = new System.Drawing.Point(8, 8);
-			this.groupBox6.Name = "groupBox6";
-			this.groupBox6.Size = new System.Drawing.Size(203, 493);
-			this.groupBox6.TabIndex = 0;
-			this.groupBox6.TabStop = false;
-			this.groupBox6.Text = " Colors ";
-			// 
-			// colorproperties
-			// 
-			this.colorproperties.BackColor = System.Drawing.Color.Transparent;
-			this.colorproperties.Label = "Keywords:";
-			this.colorproperties.Location = new System.Drawing.Point(15, 169);
-			this.colorproperties.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorproperties.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorproperties.Name = "colorproperties";
-			this.colorproperties.Size = new System.Drawing.Size(168, 21);
-			this.colorproperties.TabIndex = 6;
-			this.colorproperties.ColorChanged += new System.EventHandler(this.colorproperties_ColorChanged);
-			// 
-			// label23
-			// 
-			this.label23.AutoSize = true;
-			this.label23.Location = new System.Drawing.Point(15, 22);
-			this.label23.Name = "label23";
-			this.label23.Size = new System.Drawing.Size(40, 13);
-			this.label23.TabIndex = 40;
-			this.label23.Text = "Preset:";
-			// 
-			// scriptcolorpresets
-			// 
-			this.scriptcolorpresets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.scriptcolorpresets.FormattingEnabled = true;
-			this.scriptcolorpresets.Items.AddRange(new object[] {
+            this.scriptfontsize.Location = new System.Drawing.Point(53, 53);
+            this.scriptfontsize.Name = "scriptfontsize";
+            this.scriptfontsize.Size = new System.Drawing.Size(94, 21);
+            this.scriptfontsize.TabIndex = 1;
+            this.scriptfontsize.SelectedIndexChanged += new System.EventHandler(this.scriptfontsize_SelectedIndexChanged);
+            // 
+            // groupBox6
+            // 
+            this.groupBox6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left)));
+            this.groupBox6.Controls.Add(this.colorproperties);
+            this.groupBox6.Controls.Add(this.label23);
+            this.groupBox6.Controls.Add(this.scriptcolorpresets);
+            this.groupBox6.Controls.Add(this.colorfoldback);
+            this.groupBox6.Controls.Add(this.colorfoldfore);
+            this.groupBox6.Controls.Add(this.colorindicator);
+            this.groupBox6.Controls.Add(this.colorwhitespace);
+            this.groupBox6.Controls.Add(this.colorbracebad);
+            this.groupBox6.Controls.Add(this.colorbrace);
+            this.groupBox6.Controls.Add(this.colorselectionback);
+            this.groupBox6.Controls.Add(this.colorselectionfore);
+            this.groupBox6.Controls.Add(this.colorincludes);
+            this.groupBox6.Controls.Add(this.colorstrings);
+            this.groupBox6.Controls.Add(this.colorscriptbackground);
+            this.groupBox6.Controls.Add(this.colorplaintext);
+            this.groupBox6.Controls.Add(this.colorcomments);
+            this.groupBox6.Controls.Add(this.colorlinenumbers);
+            this.groupBox6.Controls.Add(this.colorkeywords);
+            this.groupBox6.Controls.Add(this.colorliterals);
+            this.groupBox6.Controls.Add(this.colorconstants);
+            this.groupBox6.Location = new System.Drawing.Point(8, 8);
+            this.groupBox6.Name = "groupBox6";
+            this.groupBox6.Size = new System.Drawing.Size(203, 493);
+            this.groupBox6.TabIndex = 0;
+            this.groupBox6.TabStop = false;
+            this.groupBox6.Text = " Colors ";
+            // 
+            // colorproperties
+            // 
+            this.colorproperties.BackColor = System.Drawing.Color.Transparent;
+            this.colorproperties.Label = "Keywords:";
+            this.colorproperties.Location = new System.Drawing.Point(15, 169);
+            this.colorproperties.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorproperties.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorproperties.Name = "colorproperties";
+            this.colorproperties.Size = new System.Drawing.Size(168, 21);
+            this.colorproperties.TabIndex = 6;
+            this.colorproperties.ColorChanged += new System.EventHandler(this.colorproperties_ColorChanged);
+            // 
+            // label23
+            // 
+            this.label23.AutoSize = true;
+            this.label23.Location = new System.Drawing.Point(15, 22);
+            this.label23.Name = "label23";
+            this.label23.Size = new System.Drawing.Size(40, 13);
+            this.label23.TabIndex = 40;
+            this.label23.Text = "Preset:";
+            // 
+            // scriptcolorpresets
+            // 
+            this.scriptcolorpresets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.scriptcolorpresets.FormattingEnabled = true;
+            this.scriptcolorpresets.Items.AddRange(new object[] {
             "Use current settings",
             "Light theme",
             "Dark theme"});
-			this.scriptcolorpresets.Location = new System.Drawing.Point(61, 18);
-			this.scriptcolorpresets.Name = "scriptcolorpresets";
-			this.scriptcolorpresets.Size = new System.Drawing.Size(122, 21);
-			this.scriptcolorpresets.TabIndex = 0;
-			this.scriptcolorpresets.SelectedIndexChanged += new System.EventHandler(this.scriptcolorpresets_SelectedIndexChanged);
-			// 
-			// colorfoldback
-			// 
-			this.colorfoldback.BackColor = System.Drawing.Color.Transparent;
-			this.colorfoldback.Label = "Fold BG:";
-			this.colorfoldback.Location = new System.Drawing.Point(15, 457);
-			this.colorfoldback.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorfoldback.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorfoldback.Name = "colorfoldback";
-			this.colorfoldback.Size = new System.Drawing.Size(168, 21);
-			this.colorfoldback.TabIndex = 18;
-			this.colorfoldback.ColorChanged += new System.EventHandler(this.colorfoldback_ColorChanged);
-			// 
-			// colorfoldfore
-			// 
-			this.colorfoldfore.BackColor = System.Drawing.Color.Transparent;
-			this.colorfoldfore.Label = "Fold:";
-			this.colorfoldfore.Location = new System.Drawing.Point(15, 433);
-			this.colorfoldfore.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorfoldfore.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorfoldfore.Name = "colorfoldfore";
-			this.colorfoldfore.Size = new System.Drawing.Size(168, 21);
-			this.colorfoldfore.TabIndex = 17;
-			this.colorfoldfore.ColorChanged += new System.EventHandler(this.colorfoldfore_ColorChanged);
-			// 
-			// colorindicator
-			// 
-			this.colorindicator.BackColor = System.Drawing.Color.Transparent;
-			this.colorindicator.Label = "Matching word:";
-			this.colorindicator.Location = new System.Drawing.Point(15, 337);
-			this.colorindicator.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorindicator.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorindicator.Name = "colorindicator";
-			this.colorindicator.Size = new System.Drawing.Size(168, 21);
-			this.colorindicator.TabIndex = 13;
-			this.colorindicator.ColorChanged += new System.EventHandler(this.colorindicator_ColorChanged);
-			// 
-			// colorwhitespace
-			// 
-			this.colorwhitespace.BackColor = System.Drawing.Color.Transparent;
-			this.colorwhitespace.Label = "Whitespace:";
-			this.colorwhitespace.Location = new System.Drawing.Point(15, 409);
-			this.colorwhitespace.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorwhitespace.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorwhitespace.Name = "colorwhitespace";
-			this.colorwhitespace.Size = new System.Drawing.Size(168, 21);
-			this.colorwhitespace.TabIndex = 16;
-			this.colorwhitespace.ColorChanged += new System.EventHandler(this.colorwhitespace_ColorChanged);
-			// 
-			// colorbracebad
-			// 
-			this.colorbracebad.BackColor = System.Drawing.Color.Transparent;
-			this.colorbracebad.Label = "Mismatching brace:";
-			this.colorbracebad.Location = new System.Drawing.Point(15, 385);
-			this.colorbracebad.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorbracebad.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorbracebad.Name = "colorbracebad";
-			this.colorbracebad.Size = new System.Drawing.Size(168, 21);
-			this.colorbracebad.TabIndex = 15;
-			this.colorbracebad.ColorChanged += new System.EventHandler(this.colorbracebad_ColorChanged);
-			// 
-			// colorbrace
-			// 
-			this.colorbrace.BackColor = System.Drawing.Color.Transparent;
-			this.colorbrace.Label = "Matching brace:";
-			this.colorbrace.Location = new System.Drawing.Point(15, 361);
-			this.colorbrace.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorbrace.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorbrace.Name = "colorbrace";
-			this.colorbrace.Size = new System.Drawing.Size(168, 21);
-			this.colorbrace.TabIndex = 14;
-			this.colorbrace.ColorChanged += new System.EventHandler(this.colorbrace_ColorChanged);
-			// 
-			// colorselectionback
-			// 
-			this.colorselectionback.BackColor = System.Drawing.Color.Transparent;
-			this.colorselectionback.Label = "Selection BG:";
-			this.colorselectionback.Location = new System.Drawing.Point(15, 313);
-			this.colorselectionback.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorselectionback.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorselectionback.Name = "colorselectionback";
-			this.colorselectionback.Size = new System.Drawing.Size(168, 21);
-			this.colorselectionback.TabIndex = 12;
-			this.colorselectionback.ColorChanged += new System.EventHandler(this.colorselectionback_ColorChanged);
-			// 
-			// colorselectionfore
-			// 
-			this.colorselectionfore.BackColor = System.Drawing.Color.Transparent;
-			this.colorselectionfore.Label = "Selection:";
-			this.colorselectionfore.Location = new System.Drawing.Point(15, 289);
-			this.colorselectionfore.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorselectionfore.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorselectionfore.Name = "colorselectionfore";
-			this.colorselectionfore.Size = new System.Drawing.Size(168, 21);
-			this.colorselectionfore.TabIndex = 11;
-			this.colorselectionfore.ColorChanged += new System.EventHandler(this.colorselectionfore_ColorChanged);
-			// 
-			// colorincludes
-			// 
-			this.colorincludes.BackColor = System.Drawing.Color.Transparent;
-			this.colorincludes.Label = "Includes:";
-			this.colorincludes.Location = new System.Drawing.Point(15, 265);
-			this.colorincludes.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorincludes.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorincludes.Name = "colorincludes";
-			this.colorincludes.Size = new System.Drawing.Size(168, 21);
-			this.colorincludes.TabIndex = 10;
-			this.colorincludes.ColorChanged += new System.EventHandler(this.colorincludes_ColorChanged);
-			// 
-			// colorstrings
-			// 
-			this.colorstrings.BackColor = System.Drawing.Color.Transparent;
-			this.colorstrings.Label = "Strings:";
-			this.colorstrings.Location = new System.Drawing.Point(15, 193);
-			this.colorstrings.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorstrings.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorstrings.Name = "colorstrings";
-			this.colorstrings.Size = new System.Drawing.Size(168, 21);
-			this.colorstrings.TabIndex = 7;
-			this.colorstrings.ColorChanged += new System.EventHandler(this.colorstrings_ColorChanged);
-			// 
-			// colorscriptbackground
-			// 
-			this.colorscriptbackground.BackColor = System.Drawing.Color.Transparent;
-			this.colorscriptbackground.Label = "Background:";
-			this.colorscriptbackground.Location = new System.Drawing.Point(15, 49);
-			this.colorscriptbackground.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorscriptbackground.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorscriptbackground.Name = "colorscriptbackground";
-			this.colorscriptbackground.Size = new System.Drawing.Size(168, 21);
-			this.colorscriptbackground.TabIndex = 1;
-			this.colorscriptbackground.ColorChanged += new System.EventHandler(this.colorscriptbackground_ColorChanged);
-			// 
-			// colorplaintext
-			// 
-			this.colorplaintext.BackColor = System.Drawing.Color.Transparent;
-			this.colorplaintext.Label = "Plain text:";
-			this.colorplaintext.Location = new System.Drawing.Point(15, 97);
-			this.colorplaintext.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorplaintext.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorplaintext.Name = "colorplaintext";
-			this.colorplaintext.Size = new System.Drawing.Size(168, 21);
-			this.colorplaintext.TabIndex = 3;
-			this.colorplaintext.ColorChanged += new System.EventHandler(this.colorplaintext_ColorChanged);
-			// 
-			// colorcomments
-			// 
-			this.colorcomments.BackColor = System.Drawing.Color.Transparent;
-			this.colorcomments.Label = "Comments:";
-			this.colorcomments.Location = new System.Drawing.Point(15, 121);
-			this.colorcomments.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorcomments.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorcomments.Name = "colorcomments";
-			this.colorcomments.Size = new System.Drawing.Size(168, 21);
-			this.colorcomments.TabIndex = 4;
-			this.colorcomments.ColorChanged += new System.EventHandler(this.colorcomments_ColorChanged);
-			// 
-			// colorlinenumbers
-			// 
-			this.colorlinenumbers.BackColor = System.Drawing.Color.Transparent;
-			this.colorlinenumbers.Label = "Line numbers:";
-			this.colorlinenumbers.Location = new System.Drawing.Point(15, 73);
-			this.colorlinenumbers.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorlinenumbers.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorlinenumbers.Name = "colorlinenumbers";
-			this.colorlinenumbers.Size = new System.Drawing.Size(168, 21);
-			this.colorlinenumbers.TabIndex = 2;
-			this.colorlinenumbers.ColorChanged += new System.EventHandler(this.colorlinenumbers_ColorChanged);
-			// 
-			// colorkeywords
-			// 
-			this.colorkeywords.BackColor = System.Drawing.Color.Transparent;
-			this.colorkeywords.Label = "Functions:";
-			this.colorkeywords.Location = new System.Drawing.Point(15, 145);
-			this.colorkeywords.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorkeywords.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorkeywords.Name = "colorkeywords";
-			this.colorkeywords.Size = new System.Drawing.Size(168, 21);
-			this.colorkeywords.TabIndex = 5;
-			this.colorkeywords.ColorChanged += new System.EventHandler(this.colorkeywords_ColorChanged);
-			// 
-			// colorliterals
-			// 
-			this.colorliterals.BackColor = System.Drawing.Color.Transparent;
-			this.colorliterals.Label = "Numbers:";
-			this.colorliterals.Location = new System.Drawing.Point(15, 217);
-			this.colorliterals.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorliterals.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorliterals.Name = "colorliterals";
-			this.colorliterals.Size = new System.Drawing.Size(168, 21);
-			this.colorliterals.TabIndex = 8;
-			this.colorliterals.ColorChanged += new System.EventHandler(this.colorliterals_ColorChanged);
-			// 
-			// colorconstants
-			// 
-			this.colorconstants.BackColor = System.Drawing.Color.Transparent;
-			this.colorconstants.Label = "Constants:";
-			this.colorconstants.Location = new System.Drawing.Point(15, 241);
-			this.colorconstants.MaximumSize = new System.Drawing.Size(10000, 23);
-			this.colorconstants.MinimumSize = new System.Drawing.Size(100, 16);
-			this.colorconstants.Name = "colorconstants";
-			this.colorconstants.Size = new System.Drawing.Size(168, 21);
-			this.colorconstants.TabIndex = 9;
-			this.colorconstants.ColorChanged += new System.EventHandler(this.colorconstants_ColorChanged);
-			// 
-			// previewgroup
-			// 
-			this.previewgroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.previewgroup.Controls.Add(this.scriptedit);
-			this.previewgroup.Location = new System.Drawing.Point(217, 344);
-			this.previewgroup.Name = "previewgroup";
-			this.previewgroup.Size = new System.Drawing.Size(457, 157);
-			this.previewgroup.TabIndex = 4;
-			this.previewgroup.TabStop = false;
-			this.previewgroup.Text = " Preview ";
-			// 
-			// scriptedit
-			// 
-			this.scriptedit.Location = new System.Drawing.Point(6, 19);
-			this.scriptedit.Name = "scriptedit";
-			this.scriptedit.Size = new System.Drawing.Size(445, 132);
-			this.scriptedit.TabIndex = 0;
-			// 
-			// tabpasting
-			// 
-			this.tabpasting.Controls.Add(this.label16);
-			this.tabpasting.Controls.Add(this.pasteoptions);
-			this.tabpasting.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.tabpasting.Location = new System.Drawing.Point(4, 22);
-			this.tabpasting.Name = "tabpasting";
-			this.tabpasting.Padding = new System.Windows.Forms.Padding(5);
-			this.tabpasting.Size = new System.Drawing.Size(682, 510);
-			this.tabpasting.TabIndex = 3;
-			this.tabpasting.Text = "Pasting ";
-			this.tabpasting.UseVisualStyleBackColor = true;
-			// 
-			// label16
-			// 
-			this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.label16.Location = new System.Drawing.Point(11, 15);
-			this.label16.Name = "label16";
-			this.label16.Size = new System.Drawing.Size(649, 35);
-			this.label16.TabIndex = 1;
-			this.label16.Text = "These are the default options for pasting geometry. You can also choose these opt" +
-				"ions when you use the Paste Special function. These options also apply when inse" +
-				"rting prefabs.";
-			// 
-			// pasteoptions
-			// 
-			this.pasteoptions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-						| System.Windows.Forms.AnchorStyles.Left)
-						| System.Windows.Forms.AnchorStyles.Right)));
-			this.pasteoptions.Location = new System.Drawing.Point(8, 53);
-			this.pasteoptions.Name = "pasteoptions";
-			this.pasteoptions.Size = new System.Drawing.Size(666, 427);
-			this.pasteoptions.TabIndex = 0;
-			// 
-			// browseScreenshotsFolderDialog
-			// 
-			this.browseScreenshotsFolderDialog.Description = "Select a Folder to Save Screenshots Into";
-			// 
-			// PreferencesForm
-			// 
-			this.AcceptButton = this.apply;
-			this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
-			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
-			this.CancelButton = this.cancel;
-			this.ClientSize = new System.Drawing.Size(711, 594);
-			this.Controls.Add(this.cancel);
-			this.Controls.Add(this.apply);
-			this.Controls.Add(this.tabs);
-			this.DoubleBuffered = true;
-			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
-			this.MaximizeBox = false;
-			this.MinimizeBox = false;
-			this.Name = "PreferencesForm";
-			this.Opacity = 0;
-			this.ShowIcon = false;
-			this.ShowInTaskbar = false;
-			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
-			this.Text = "Preferences";
-			this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.PreferencesForm_HelpRequested);
-			groupBox1.ResumeLayout(false);
-			groupBox1.PerformLayout();
-			((System.ComponentModel.ISupportInitialize)(this.recentFiles)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.vertexScale)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.zoomfactor)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.autoscrollspeed)).EndInit();
-			this.colorsgroup1.ResumeLayout(false);
-			((System.ComponentModel.ISupportInitialize)(this.doublesidedalpha)).EndInit();
-			this.tabs.ResumeLayout(false);
-			this.tabinterface.ResumeLayout(false);
-			this.groupBox11.ResumeLayout(false);
-			this.groupBox11.PerformLayout();
-			this.groupBox3.ResumeLayout(false);
-			this.groupBox3.PerformLayout();
-			this.groupBox5.ResumeLayout(false);
-			this.groupBox5.PerformLayout();
-			this.groupBox4.ResumeLayout(false);
-			this.groupBox4.PerformLayout();
-			this.groupBox2.ResumeLayout(false);
-			this.groupBox2.PerformLayout();
-			((System.ComponentModel.ISupportInitialize)(this.vertexScale3D)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.viewdistance)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.movespeed)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.mousespeed)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.fieldofview)).EndInit();
-			this.tabkeys.ResumeLayout(false);
-			this.tabkeys.PerformLayout();
-			this.actioncontrolpanel.ResumeLayout(false);
-			this.actioncontrolpanel.PerformLayout();
-			this.tabcolors.ResumeLayout(false);
-			this.appearancegroup1.ResumeLayout(false);
-			this.appearancegroup1.PerformLayout();
-			((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.antialiasing)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.anisotropicfiltering)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.tbDynLightCount)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.imagebrightness)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).EndInit();
-			((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).EndInit();
-			this.tabscripteditor.ResumeLayout(false);
-			this.groupBox9.ResumeLayout(false);
-			this.groupBox9.PerformLayout();
-			this.groupBox8.ResumeLayout(false);
-			this.groupBox8.PerformLayout();
-			this.groupBox7.ResumeLayout(false);
-			this.groupBox7.PerformLayout();
-			this.groupBox6.ResumeLayout(false);
-			this.groupBox6.PerformLayout();
-			this.previewgroup.ResumeLayout(false);
-			this.tabpasting.ResumeLayout(false);
-			this.ResumeLayout(false);
+            this.scriptcolorpresets.Location = new System.Drawing.Point(61, 18);
+            this.scriptcolorpresets.Name = "scriptcolorpresets";
+            this.scriptcolorpresets.Size = new System.Drawing.Size(122, 21);
+            this.scriptcolorpresets.TabIndex = 0;
+            this.scriptcolorpresets.SelectedIndexChanged += new System.EventHandler(this.scriptcolorpresets_SelectedIndexChanged);
+            // 
+            // colorfoldback
+            // 
+            this.colorfoldback.BackColor = System.Drawing.Color.Transparent;
+            this.colorfoldback.Label = "Fold BG:";
+            this.colorfoldback.Location = new System.Drawing.Point(15, 457);
+            this.colorfoldback.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorfoldback.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorfoldback.Name = "colorfoldback";
+            this.colorfoldback.Size = new System.Drawing.Size(168, 21);
+            this.colorfoldback.TabIndex = 18;
+            this.colorfoldback.ColorChanged += new System.EventHandler(this.colorfoldback_ColorChanged);
+            // 
+            // colorfoldfore
+            // 
+            this.colorfoldfore.BackColor = System.Drawing.Color.Transparent;
+            this.colorfoldfore.Label = "Fold:";
+            this.colorfoldfore.Location = new System.Drawing.Point(15, 433);
+            this.colorfoldfore.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorfoldfore.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorfoldfore.Name = "colorfoldfore";
+            this.colorfoldfore.Size = new System.Drawing.Size(168, 21);
+            this.colorfoldfore.TabIndex = 17;
+            this.colorfoldfore.ColorChanged += new System.EventHandler(this.colorfoldfore_ColorChanged);
+            // 
+            // colorindicator
+            // 
+            this.colorindicator.BackColor = System.Drawing.Color.Transparent;
+            this.colorindicator.Label = "Matching word:";
+            this.colorindicator.Location = new System.Drawing.Point(15, 337);
+            this.colorindicator.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorindicator.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorindicator.Name = "colorindicator";
+            this.colorindicator.Size = new System.Drawing.Size(168, 21);
+            this.colorindicator.TabIndex = 13;
+            this.colorindicator.ColorChanged += new System.EventHandler(this.colorindicator_ColorChanged);
+            // 
+            // colorwhitespace
+            // 
+            this.colorwhitespace.BackColor = System.Drawing.Color.Transparent;
+            this.colorwhitespace.Label = "Whitespace:";
+            this.colorwhitespace.Location = new System.Drawing.Point(15, 409);
+            this.colorwhitespace.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorwhitespace.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorwhitespace.Name = "colorwhitespace";
+            this.colorwhitespace.Size = new System.Drawing.Size(168, 21);
+            this.colorwhitespace.TabIndex = 16;
+            this.colorwhitespace.ColorChanged += new System.EventHandler(this.colorwhitespace_ColorChanged);
+            // 
+            // colorbracebad
+            // 
+            this.colorbracebad.BackColor = System.Drawing.Color.Transparent;
+            this.colorbracebad.Label = "Mismatching brace:";
+            this.colorbracebad.Location = new System.Drawing.Point(15, 385);
+            this.colorbracebad.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorbracebad.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorbracebad.Name = "colorbracebad";
+            this.colorbracebad.Size = new System.Drawing.Size(168, 21);
+            this.colorbracebad.TabIndex = 15;
+            this.colorbracebad.ColorChanged += new System.EventHandler(this.colorbracebad_ColorChanged);
+            // 
+            // colorbrace
+            // 
+            this.colorbrace.BackColor = System.Drawing.Color.Transparent;
+            this.colorbrace.Label = "Matching brace:";
+            this.colorbrace.Location = new System.Drawing.Point(15, 361);
+            this.colorbrace.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorbrace.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorbrace.Name = "colorbrace";
+            this.colorbrace.Size = new System.Drawing.Size(168, 21);
+            this.colorbrace.TabIndex = 14;
+            this.colorbrace.ColorChanged += new System.EventHandler(this.colorbrace_ColorChanged);
+            // 
+            // colorselectionback
+            // 
+            this.colorselectionback.BackColor = System.Drawing.Color.Transparent;
+            this.colorselectionback.Label = "Selection BG:";
+            this.colorselectionback.Location = new System.Drawing.Point(15, 313);
+            this.colorselectionback.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorselectionback.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorselectionback.Name = "colorselectionback";
+            this.colorselectionback.Size = new System.Drawing.Size(168, 21);
+            this.colorselectionback.TabIndex = 12;
+            this.colorselectionback.ColorChanged += new System.EventHandler(this.colorselectionback_ColorChanged);
+            // 
+            // colorselectionfore
+            // 
+            this.colorselectionfore.BackColor = System.Drawing.Color.Transparent;
+            this.colorselectionfore.Label = "Selection:";
+            this.colorselectionfore.Location = new System.Drawing.Point(15, 289);
+            this.colorselectionfore.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorselectionfore.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorselectionfore.Name = "colorselectionfore";
+            this.colorselectionfore.Size = new System.Drawing.Size(168, 21);
+            this.colorselectionfore.TabIndex = 11;
+            this.colorselectionfore.ColorChanged += new System.EventHandler(this.colorselectionfore_ColorChanged);
+            // 
+            // colorincludes
+            // 
+            this.colorincludes.BackColor = System.Drawing.Color.Transparent;
+            this.colorincludes.Label = "Includes:";
+            this.colorincludes.Location = new System.Drawing.Point(15, 265);
+            this.colorincludes.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorincludes.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorincludes.Name = "colorincludes";
+            this.colorincludes.Size = new System.Drawing.Size(168, 21);
+            this.colorincludes.TabIndex = 10;
+            this.colorincludes.ColorChanged += new System.EventHandler(this.colorincludes_ColorChanged);
+            // 
+            // colorstrings
+            // 
+            this.colorstrings.BackColor = System.Drawing.Color.Transparent;
+            this.colorstrings.Label = "Strings:";
+            this.colorstrings.Location = new System.Drawing.Point(15, 193);
+            this.colorstrings.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorstrings.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorstrings.Name = "colorstrings";
+            this.colorstrings.Size = new System.Drawing.Size(168, 21);
+            this.colorstrings.TabIndex = 7;
+            this.colorstrings.ColorChanged += new System.EventHandler(this.colorstrings_ColorChanged);
+            // 
+            // colorscriptbackground
+            // 
+            this.colorscriptbackground.BackColor = System.Drawing.Color.Transparent;
+            this.colorscriptbackground.Label = "Background:";
+            this.colorscriptbackground.Location = new System.Drawing.Point(15, 49);
+            this.colorscriptbackground.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorscriptbackground.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorscriptbackground.Name = "colorscriptbackground";
+            this.colorscriptbackground.Size = new System.Drawing.Size(168, 21);
+            this.colorscriptbackground.TabIndex = 1;
+            this.colorscriptbackground.ColorChanged += new System.EventHandler(this.colorscriptbackground_ColorChanged);
+            // 
+            // colorplaintext
+            // 
+            this.colorplaintext.BackColor = System.Drawing.Color.Transparent;
+            this.colorplaintext.Label = "Plain text:";
+            this.colorplaintext.Location = new System.Drawing.Point(15, 97);
+            this.colorplaintext.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorplaintext.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorplaintext.Name = "colorplaintext";
+            this.colorplaintext.Size = new System.Drawing.Size(168, 21);
+            this.colorplaintext.TabIndex = 3;
+            this.colorplaintext.ColorChanged += new System.EventHandler(this.colorplaintext_ColorChanged);
+            // 
+            // colorcomments
+            // 
+            this.colorcomments.BackColor = System.Drawing.Color.Transparent;
+            this.colorcomments.Label = "Comments:";
+            this.colorcomments.Location = new System.Drawing.Point(15, 121);
+            this.colorcomments.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorcomments.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorcomments.Name = "colorcomments";
+            this.colorcomments.Size = new System.Drawing.Size(168, 21);
+            this.colorcomments.TabIndex = 4;
+            this.colorcomments.ColorChanged += new System.EventHandler(this.colorcomments_ColorChanged);
+            // 
+            // colorlinenumbers
+            // 
+            this.colorlinenumbers.BackColor = System.Drawing.Color.Transparent;
+            this.colorlinenumbers.Label = "Line numbers:";
+            this.colorlinenumbers.Location = new System.Drawing.Point(15, 73);
+            this.colorlinenumbers.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorlinenumbers.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorlinenumbers.Name = "colorlinenumbers";
+            this.colorlinenumbers.Size = new System.Drawing.Size(168, 21);
+            this.colorlinenumbers.TabIndex = 2;
+            this.colorlinenumbers.ColorChanged += new System.EventHandler(this.colorlinenumbers_ColorChanged);
+            // 
+            // colorkeywords
+            // 
+            this.colorkeywords.BackColor = System.Drawing.Color.Transparent;
+            this.colorkeywords.Label = "Functions:";
+            this.colorkeywords.Location = new System.Drawing.Point(15, 145);
+            this.colorkeywords.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorkeywords.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorkeywords.Name = "colorkeywords";
+            this.colorkeywords.Size = new System.Drawing.Size(168, 21);
+            this.colorkeywords.TabIndex = 5;
+            this.colorkeywords.ColorChanged += new System.EventHandler(this.colorkeywords_ColorChanged);
+            // 
+            // colorliterals
+            // 
+            this.colorliterals.BackColor = System.Drawing.Color.Transparent;
+            this.colorliterals.Label = "Numbers:";
+            this.colorliterals.Location = new System.Drawing.Point(15, 217);
+            this.colorliterals.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorliterals.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorliterals.Name = "colorliterals";
+            this.colorliterals.Size = new System.Drawing.Size(168, 21);
+            this.colorliterals.TabIndex = 8;
+            this.colorliterals.ColorChanged += new System.EventHandler(this.colorliterals_ColorChanged);
+            // 
+            // colorconstants
+            // 
+            this.colorconstants.BackColor = System.Drawing.Color.Transparent;
+            this.colorconstants.Label = "Constants:";
+            this.colorconstants.Location = new System.Drawing.Point(15, 241);
+            this.colorconstants.MaximumSize = new System.Drawing.Size(10000, 23);
+            this.colorconstants.MinimumSize = new System.Drawing.Size(100, 16);
+            this.colorconstants.Name = "colorconstants";
+            this.colorconstants.Size = new System.Drawing.Size(168, 21);
+            this.colorconstants.TabIndex = 9;
+            this.colorconstants.ColorChanged += new System.EventHandler(this.colorconstants_ColorChanged);
+            // 
+            // previewgroup
+            // 
+            this.previewgroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.previewgroup.Controls.Add(this.scriptedit);
+            this.previewgroup.Location = new System.Drawing.Point(217, 344);
+            this.previewgroup.Name = "previewgroup";
+            this.previewgroup.Size = new System.Drawing.Size(457, 157);
+            this.previewgroup.TabIndex = 4;
+            this.previewgroup.TabStop = false;
+            this.previewgroup.Text = " Preview ";
+            // 
+            // scriptedit
+            // 
+            this.scriptedit.Location = new System.Drawing.Point(6, 19);
+            this.scriptedit.Name = "scriptedit";
+            this.scriptedit.Size = new System.Drawing.Size(445, 132);
+            this.scriptedit.TabIndex = 0;
+            // 
+            // tabpasting
+            // 
+            this.tabpasting.Controls.Add(this.label16);
+            this.tabpasting.Controls.Add(this.pasteoptions);
+            this.tabpasting.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.tabpasting.Location = new System.Drawing.Point(4, 22);
+            this.tabpasting.Name = "tabpasting";
+            this.tabpasting.Padding = new System.Windows.Forms.Padding(5);
+            this.tabpasting.Size = new System.Drawing.Size(682, 510);
+            this.tabpasting.TabIndex = 3;
+            this.tabpasting.Text = "Pasting ";
+            this.tabpasting.UseVisualStyleBackColor = true;
+            // 
+            // label16
+            // 
+            this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.label16.Location = new System.Drawing.Point(11, 15);
+            this.label16.Name = "label16";
+            this.label16.Size = new System.Drawing.Size(649, 35);
+            this.label16.TabIndex = 1;
+            this.label16.Text = "These are the default options for pasting geometry. You can also choose these opt" +
+    "ions when you use the Paste Special function. These options also apply when inse" +
+    "rting prefabs.";
+            // 
+            // pasteoptions
+            // 
+            this.pasteoptions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.pasteoptions.Location = new System.Drawing.Point(8, 53);
+            this.pasteoptions.Name = "pasteoptions";
+            this.pasteoptions.Size = new System.Drawing.Size(666, 427);
+            this.pasteoptions.TabIndex = 0;
+            // 
+            // browseScreenshotsFolderDialog
+            // 
+            this.browseScreenshotsFolderDialog.Description = "Select a Folder to Save Screenshots Into";
+            // 
+            // PreferencesForm
+            // 
+            this.AcceptButton = this.apply;
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+            this.CancelButton = this.cancel;
+            this.ClientSize = new System.Drawing.Size(711, 594);
+            this.Controls.Add(this.cancel);
+            this.Controls.Add(this.apply);
+            this.Controls.Add(this.tabs);
+            this.DoubleBuffered = true;
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "PreferencesForm";
+            this.Opacity = 0D;
+            this.ShowIcon = false;
+            this.ShowInTaskbar = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+            this.Text = "Preferences";
+            this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.PreferencesForm_HelpRequested);
+            groupBox1.ResumeLayout(false);
+            groupBox1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.recentFiles)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.vertexScale)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.zoomfactor)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.autoscrollspeed)).EndInit();
+            this.colorsgroup1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.doublesidedalpha)).EndInit();
+            this.tabs.ResumeLayout(false);
+            this.tabinterface.ResumeLayout(false);
+            this.groupBox11.ResumeLayout(false);
+            this.groupBox11.PerformLayout();
+            this.groupBox3.ResumeLayout(false);
+            this.groupBox3.PerformLayout();
+            this.groupBox5.ResumeLayout(false);
+            this.groupBox5.PerformLayout();
+            this.groupBox4.ResumeLayout(false);
+            this.groupBox4.PerformLayout();
+            this.groupBox2.ResumeLayout(false);
+            this.groupBox2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.vertexScale3D)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.viewdistance)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.movespeed)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.mousespeed)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.fieldofview)).EndInit();
+            this.tabkeys.ResumeLayout(false);
+            this.tabkeys.PerformLayout();
+            this.actioncontrolpanel.ResumeLayout(false);
+            this.actioncontrolpanel.PerformLayout();
+            this.tabcolors.ResumeLayout(false);
+            this.appearancegroup1.ResumeLayout(false);
+            this.appearancegroup1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.antialiasing)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.anisotropicfiltering)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.tbDynLightCount)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.imagebrightness)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).EndInit();
+            this.tabscripteditor.ResumeLayout(false);
+            this.groupBox9.ResumeLayout(false);
+            this.groupBox9.PerformLayout();
+            this.groupBox8.ResumeLayout(false);
+            this.groupBox8.PerformLayout();
+            this.groupBox7.ResumeLayout(false);
+            this.groupBox7.PerformLayout();
+            this.groupBox6.ResumeLayout(false);
+            this.groupBox6.PerformLayout();
+            this.previewgroup.ResumeLayout(false);
+            this.tabpasting.ResumeLayout(false);
+            this.ResumeLayout(false);
 
 		}
 
@@ -2599,5 +2611,6 @@ namespace CodeImp.DoomBuilder.Windows
 		private System.Windows.Forms.Label label33;
 		private System.Windows.Forms.ComboBox textlabelfontsize;
 		private CodeImp.DoomBuilder.Controls.ColorControl colorguidelines;
-	}
+        private System.Windows.Forms.CheckBox texturesizesbelow;
+    }
 }
\ No newline at end of file
diff --git a/Source/Core/Windows/PreferencesForm.cs b/Source/Core/Windows/PreferencesForm.cs
index 8da4ec2f8..ab9ca6530 100755
--- a/Source/Core/Windows/PreferencesForm.cs
+++ b/Source/Core/Windows/PreferencesForm.cs
@@ -88,6 +88,7 @@ namespace CodeImp.DoomBuilder.Windows
 			toolbar_geometry.Checked = General.Settings.ToolbarGeometry;
 			toolbar_testing.Checked = General.Settings.ToolbarTesting;
 			showtexturesizes.Checked = General.Settings.ShowTextureSizes;
+            texturesizesbelow.Checked = General.Settings.TextureSizesBelow;
 
 			//mxd
 			locatetexturegroup.Checked = General.Settings.LocateTextureGroup;
@@ -318,6 +319,7 @@ namespace CodeImp.DoomBuilder.Windows
 			General.Settings.ToolbarTesting = toolbar_testing.Checked;
 			General.Settings.GZToolbarGZDoom = toolbar_gzdoom.Checked; //mxd
 			General.Settings.ShowTextureSizes = showtexturesizes.Checked;
+            General.Settings.TextureSizesBelow = texturesizesbelow.Checked; // [ZZ]
 			General.Settings.StoreSelectedEditTab = cbStoreEditTab.Checked; //mxd
 			General.Settings.CheckForUpdates = checkforupdates.Checked; //mxd
 			General.Settings.LocateTextureGroup = locatetexturegroup.Checked; //mxd
@@ -1255,8 +1257,8 @@ namespace CodeImp.DoomBuilder.Windows
 				hlpevent.Handled = true;
 			}
 		}
-		
-		/*
+
+        /*
 		// This writes all action help files using a template and some basic info from the actions.
 		// Also writes actioncontents.txt with all files to be inserted into Contents.hhc.
 		// Only used during development. Actual button to call this has been removed.
@@ -1288,5 +1290,5 @@ namespace CodeImp.DoomBuilder.Windows
 			File.WriteAllText(filename, contents.ToString());
 		}
 		*/
-	}
+    }
 }
\ No newline at end of file
diff --git a/Source/Plugins/BuilderModes/Properties/AssemblyInfo.cs b/Source/Plugins/BuilderModes/Properties/AssemblyInfo.cs
index 40e511df8..8cd1d1014 100755
--- a/Source/Plugins/BuilderModes/Properties/AssemblyInfo.cs
+++ b/Source/Plugins/BuilderModes/Properties/AssemblyInfo.cs
@@ -29,5 +29,5 @@ using System.Resources;
 //      Build Number
 //      Revision
 //
-[assembly: AssemblyVersion("2.3.0.2853")]
+[assembly: AssemblyVersion("2.3.0.2854")]
 [assembly: NeutralResourcesLanguageAttribute("en")]
-- 
GitLab