diff --git a/artTools/vector_layer_split.py b/artTools/vector_layer_split.py
index 5a9aa919507b654fa318f0042a4e4ab9440cb98d..6eee821c625c28d95c14708b33d0a55bdad4adde 100755
--- a/artTools/vector_layer_split.py
+++ b/artTools/vector_layer_split.py
@@ -21,13 +21,13 @@ import argparse
 parser = argparse.ArgumentParser(
 	description='Application for splitting groups from one SVG file into separate files.')
 parser.add_argument('-o', '--output', dest='output_dir', required=True,
-                    help='output directory')
+					help='output directory')
 parser.add_argument('-f', '--format', dest='output_format',
-                    choices=['svg', 'tw'], default='svg', help='output format.')
+					choices=['svg', 'tw'], default='svg', help='output format.')
 parser.add_argument('-p', '--prefix', dest='prefix', default='',
-                    help='Prepend this string to result file names')
+					help='Prepend this string to result file names')
 parser.add_argument('input_file', metavar='FILENAME', nargs='+',
-                    help='Input SVG file with layers')
+					help='Input SVG file with layers')
 
 args = parser.parse_args()
 output_format = args.output_format
diff --git a/artTools/vector_revamp_layer_split.py b/artTools/vector_revamp_layer_split.py
index 13c19faddd55a119ff9475af0a3ce3d353a2cb0e..b31230fa9be459b2f00f1deccc7e46603a96c84c 100755
--- a/artTools/vector_revamp_layer_split.py
+++ b/artTools/vector_revamp_layer_split.py
@@ -23,13 +23,13 @@ import normalize_svg
 parser = argparse.ArgumentParser(
 	description='Application for splitting groups from one SVG file into separate files.')
 parser.add_argument('-o', '--output', dest='output_dir', required=True,
-                    help='output directory')
+					help='output directory')
 parser.add_argument('-f', '--format', dest='output_format',
-                    choices=['svg', 'tw'], default='svg', help='output format.')
+					choices=['svg', 'tw'], default='svg', help='output format.')
 parser.add_argument('-p', '--prefix', dest='prefix', default='',
-                    help='Prepend this string to result file names')
+					help='Prepend this string to result file names')
 parser.add_argument('input_file', metavar='FILENAME', nargs=1,
-                    help='Input SVG file with layers')
+					help='Input SVG file with layers')
 
 args = parser.parse_args()
 
diff --git a/src/Mods/DinnerParty/dinnerPartyPreparations.tw b/src/Mods/DinnerParty/dinnerPartyPreparations.tw
index 35000125b472aca6e9a630e0e52af4b2f878de55..9efe06087134070782919b5bc93b1278d0b1d58b 100644
--- a/src/Mods/DinnerParty/dinnerPartyPreparations.tw
+++ b/src/Mods/DinnerParty/dinnerPartyPreparations.tw
@@ -7,16 +7,16 @@ Hosting of high society dinner parties will increase your prestige significantly
 
 <h1>Cooking Instructions and Recipes:</h1>
 
-''Roast Long Pig'' – Made with the meat of a human roasted on a spit. Young meat is better than old meat. There should be some amount of fat to make the meat juicy, but not too much fat that makes the meat greasy. Muscles affect the texture of the meat. Meat without muscles lacks texture while an excess will be tough and hard to chew. Remember you can't eat silicone, and virgin meat is highly sought after.<<if $seePreg != 0>> If the human is pregnant a veal dish can also be made from the fetus.<</if>>
+''Roast Long Pig'' – Made with the meat of a human roasted on a spit. Young meat is better than old meat. There should be some amount of fat to make the meat juicy, but not too much fat that makes the meat greasy. Muscles affect the texture of the meat. Meat without muscles lacks texture while an excess will be tough and hard to chew. Remember that you can't eat silicone, and virgin meat is highly sought after.<<if $seePreg != 0>> If the human is pregnant, a veal dish can also be made from the fetus.<</if>>
 
 <br><br>
-''Dicky Roll'' – An erect penis made into a spring roll. For best results harvest the penis at the moment of ejaculation. The size of the penis and the amount of accumulated ejaculate all affect the quality of the dish. Too big of a dick and too thin of semen can both ruin a dish.
+''Dicky Roll'' – An erect penis made into a spring roll. For best results, harvest the penis at the moment of ejaculation. The size of the penis and the amount of accumulated ejaculate all affect the quality of the dish. Too big of a dick and too thin of semen can both ruin a dish.
 
 <br><br>
 ''Testy Meat Balls'' – Testicles made into meat balls served with a sauce. Size matters.
 
 <br><br>
-''Titty Tartare'' – Made from finely chopped breasts, mixed with onions, capers and seasonings, served raw. Big breasts make the best quality meat for this dish. To add a hint of creamy taste, make sure the breasts are lactating. Remember you can't eat silicone.
+''Titty Tartare'' – Made from finely chopped breasts, mixed with onions, capers, and seasonings, and served raw. Big breasts make the best quality meat for this dish. To add a hint of creamy taste, make sure the breasts are lactating. Remember that you can't eat silicone.
 
 <br><br>
 ''Camel Toe à l'Orange'' – Pussy grilled like a steak. A big clit and big labia will improve the quality of the dish.
diff --git a/src/SecExp/securityReport.tw b/src/SecExp/securityReport.tw
index b7567786a23104a3930218a261e12861f13ce389..3e12668d6fe590016a052aebbabb1928ba18a26a 100644
--- a/src/SecExp/securityReport.tw
+++ b/src/SecExp/securityReport.tw
@@ -220,7 +220,7 @@
 
 The security level of the arcology is
 <<if $security > (_secRest + 5)>>
-	 over its effective resting point, limiting the achievable growth this week.
+	over its effective resting point, limiting the achievable growth this week.
 	<<set _secGrowth *= 0.5>>
 <<elseif $security < (_secRest - 5)>>
 	under its effective resting point, speeding up its growth.
diff --git a/src/SpecialForce/SpecialForce.js b/src/SpecialForce/SpecialForce.js
index 665326be65e9072ca80ac8b399d42dfdc0d0bcfa..5a0dd4fb98cc7d3963e8df4b5d2b0f06fcf5422d 100644
--- a/src/SpecialForce/SpecialForce.js
+++ b/src/SpecialForce/SpecialForce.js
@@ -3125,9 +3125,9 @@ App.SF.UnitText = function(input) {
 	if (V.week % 6 === 0) {
 			loc2 += `is`
 			if (input !== 'HAT') {
-			 loc2 += ` moored to`;
+				loc2 += ` moored to`;
 			} else {
-				 loc2 += ` parked on`;
+				loc2 += ` parked on`;
 			}
 			loc2 += ` the pier in the Naval Yard`;
 			if (input === 'HAT') {
diff --git a/src/cheats/mod_editSlaveCheatNew.tw b/src/cheats/mod_editSlaveCheatNew.tw
index 68ae26eddefd9b1e43df01faf2de815bd530d6a6..df0a80a526f39bc94d02d539bf8bb39063826723 100644
--- a/src/cheats/mod_editSlaveCheatNew.tw
+++ b/src/cheats/mod_editSlaveCheatNew.tw
@@ -3598,7 +3598,7 @@
 	<<radiobutton "$tempSlave.geneticQuirks.heterochromia" 0>> None |
 	<<radiobutton "$tempSlave.geneticQuirks.heterochromia" 1>> Carrier |
 	<<link "Eye Colors">>
-	 	<<if (ndef _ecol3R) || (_ecol3R == 0) >>
+		<<if (ndef _ecol3R) || (_ecol3R == 0) >>
 			<<replace "#ecol3">>
 				<<set _ecol3R = 1>>
 				<br>
diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw
index c613bed4e2446654361fe7e4317111995f51df6b..6c13d41abf5df704f15aae55cc076a47afe03713 100644
--- a/src/events/intro/introSummary.tw
+++ b/src/events/intro/introSummary.tw
@@ -1298,7 +1298,7 @@ __''Mods''__
 	<<option 1 "Enable">>
 		''enabled''.
 	<<comment>>
-	 	This mod is initially from anon1888 but expanded by SFanon offers a lategame special (started out as security but changed to special in order to try and reduce confusion with CrimeAnon's separate Security Expansion (SecExp) mod) force, that is triggered after week 80. It is non-canon where it conflicts with canonical updates to the base game.
+		This mod is initially from anon1888 but expanded by SFanon offers a lategame special (started out as security but changed to special in order to try and reduce confusion with CrimeAnon's separate Security Expansion (SecExp) mod) force, that is triggered after week 80. It is non-canon where it conflicts with canonical updates to the base game.
 <</options>>
 	/*<br>&nbsp;The support facility is
 	<<if $SF.Facility.Toggle < 1>>
diff --git a/src/interaction/prothesticLab.tw b/src/interaction/prothesticLab.tw
index a1310dd8b4b1fa52bf2a915b767778bcb6e90b2a..574c44cf8c048c9b9f2b040b9d6eb32b5389fbfc 100644
--- a/src/interaction/prothesticLab.tw
+++ b/src/interaction/prothesticLab.tw
@@ -217,5 +217,5 @@ Prosthetic Lab
 	<</for>>
 
 	<br><br>
-	 <<= ResearchLabStockPile()>>
+	<<= ResearchLabStockPile()>>
 <</if>>
diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw
index a0283fafd6afdf87f62702bf6183c1d6e0e66a67..88e9ab7e0e3401b5ff4eb5743f8140d52850a3c6 100644
--- a/src/uncategorized/RESS.tw
+++ b/src/uncategorized/RESS.tw
@@ -2542,7 +2542,7 @@ As you begin your day one morning, you hear the quiet
 <<case "schoolgirl">>
 	but unmistakably suggestive voice of your school<<= _girlA>>
 <</switch>>
-personal assistant coming from your office. Looking in, you are treated to the sight of <<EventNameLink>>'s <<if $activeSlave.butt > 8>>ridiculous bottom jiggling<<elseif $activeSlave.butt > 4>>big behind bouncing<<else>>cute rear<</if>><<if $activeSlave.belly >= 5000>>, and the _ belly rounded belly hanging between $his legs,<</if>> as $he reaches out over the glass top of your desk with a soft, dust-free cloth and a bottle of screen cleaner. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> is displaying _hisA avatar right under where the slave is cleaning the glass screen, and $he's displaying it nude. $He's positioned $himself so that the poor slave appears to be wiping
+personal assistant coming from your office. Looking in, you are treated to the sight of <<EventNameLink>>'s <<if $activeSlave.butt > 8>>ridiculous bottom jiggling<<elseif $activeSlave.butt > 4>>big behind bouncing<<else>>cute rear<</if>><<if $activeSlave.belly >= 5000>>, and the _ belly rounded belly hanging between $his legs,<</if>> as $he reaches out over the glass top of your desk with a soft, dust-free cloth and a bottle of screen cleaner. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> is displaying _hisA avatar right under where the slave is cleaning the glass screen, and _heA's displaying it nude. _HeA's positioned _himselfA so that the poor slave appears to be wiping
 <<switch $assistantAppearance>>
 <<case "monstergirl">>
 	_hisA hair-tentacles
@@ -10401,42 +10401,42 @@ brought in to you. This time <<EventNameLink>> has been sent to deliver it. $He
 		You're sure $he'll do $his best, and you tell $him so. $He thanks you again, and you both go back to your work. Though your Head Girl continues manipulating $his tablet diligently, $he can't seem to stop $himself from @@.hotpink;stealing the occasional glance at you.@@ $His <<= App.Desc.eyeColor($activeSlave)>> eyes, dark in the dimness of the office, seem to have an unaccountable sheen.
 		<<if $assistant != 0>>
 		<<setSpokenAssistantPronouns $activeSlave>>
-		<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>>'s $assistantAppearance avatar appears on your desktop, glowing brightly, and ruins the moment. "$activeSlave.slaveName loooves $his <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Maaaster<<else>>Miiistress<</if>>," $he taunts,
+		<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>>'s $assistantAppearance avatar appears on your desktop, glowing brightly, and ruins the moment. "$activeSlave.slaveName loooves $his <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Maaaster<<else>>Miiistress<</if>>," _heA taunts,
 		<<switch $assistantAppearance>>
 		<<case "monstergirl">>
-			$his hair forming a heart shape.
+			_hisA hair forming a heart shape.
 		<<case "shemale">>
-			using $his hands to make a heart shape over $his balls.
+			using _hisA hands to make a heart shape over _hisA balls.
 		<<case "amazon">>
-			grinning far more sweetly than $his muscular form should be able to manage.
+			grinning far more sweetly than _hisA muscular form should be able to manage.
 		<<case "businesswoman">>
-			though $he's blushing $himself.
+			though _heA's blushing _himselfA.
 		<<case "fairy" "pregnant fairy" "cherub">>
 			flitting around and giggling excitedly.
 		<<case "goddess">>
-			massaging $his pregnant belly meaningfully.
+			massaging _hisA pregnant belly meaningfully.
 		<<case "hypergoddess">>
-			massaging $his squirming pregnant belly meaningfully.
+			massaging _hisA squirming pregnant belly meaningfully.
 		<<case "loli">>
 			giggling playfully.
 		<<case "preggololi">>
-			giggling playfully, though $his hands have wandered to $his crotch.
+			giggling playfully, though _hisA hands have wandered to _hisA crotch.
 		<<case "angel">>
-			using $his hands to make a heart shape.
+			using _hisA hands to make a heart shape.
 		<<case "incubus">>
-			using $his hands to make a heart shape around $his erection as $he thrusts.
+			using _hisA hands to make a heart shape around _hisA erection as _heA thrusts.
 		<<case "succubus">>
-			<<if $PC.dick == 1>>forms an "O" with $his lips and makes exaggerated head bobbing motions<<else>>forms a "V" with $his fingers and wiggles $his tongue in it<</if>>.
+			<<if $PC.dick == 1>>forms an "O" with _hisA lips and makes exaggerated head bobbing motions<<else>>forms a "V" with _hisA fingers and wiggles _hisA tongue in it<</if>>.
 		<<case "imp">>
 			flapping around and cackling manically.
 		<<case "witch">>
 			while holding out a mostly empty vial of love potion.
 		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
-			forming half of $himself into an enormous pussy, the other into a giant dick and introducing the two to each other.
+			forming half of _himselfA into an enormous pussy, the other into a giant dick, and introducing the two to each other.
 		<<case "schoolgirl">>
 			the very picture of a malicious school<<= _girlA>>.
 		<<default>>
-			turning $his avatar a throbbing pink.
+			turning _hisA avatar a throbbing pink.
 		<</switch>>
 		<br><br>
 		Your Head Girl turns a darker shade of red. "Oh, <<sh>>ut up, you little
@@ -19908,7 +19908,7 @@ brought in to you. This time <<EventNameLink>> has been sent to deliver it. $He
 				Though your experience was more stimulating than $hers, $activeSlave.slaveName enjoyed @@.hotpink;being used while you enjoyed yourself.@@
 				<<set $activeSlave.devotion += 4>>
 			<<else>>
-				 Although you enjoyed $his ministrations, $activeSlave.slaveName had a bad time because of $his @@.gold;hate of oral.@@
+				Although you enjoyed $his ministrations, $activeSlave.slaveName had a bad time because of $his @@.gold;hate of oral.@@
 				<<set $activeSlave.devotion -= 2>>
 			<</if>>
 		<<set $activeSlave.counter.oral += 1, $oralTotal += 1>>
diff --git a/src/uncategorized/neighborInteract.tw b/src/uncategorized/neighborInteract.tw
index 770059868756249377eb51caf35eb90e758d288d..44acd64c8725016eb9ae30d376e995eeaebfa835 100644
--- a/src/uncategorized/neighborInteract.tw
+++ b/src/uncategorized/neighborInteract.tw
@@ -733,7 +733,7 @@ You have <<print $arcologies.length-1>> neighbors. <br><br>
 	<<if $arcologies[_currentNeighbor].government !== "your agent">>
 		$arcologies[_currentNeighbor].government who own $arcologies[_currentNeighbor].ownership%.
 	<<else>>
-	 your agent @@.deeppink;<<= SlaveFullName(_Agent)>>@@.
+		your agent @@.deeppink;<<= SlaveFullName(_Agent)>>@@.
 	<</if>>
 <</capture>>
 <</for>>
diff --git a/src/uncategorized/rulesSlaveSelect.tw b/src/uncategorized/rulesSlaveSelect.tw
index f2b09265de9c79dd71c538e7c7fb00c0ef44132c..adcaae3cd742f65aea29559a752bf71428ae2175 100644
--- a/src/uncategorized/rulesSlaveSelect.tw
+++ b/src/uncategorized/rulesSlaveSelect.tw
@@ -14,7 +14,7 @@
 		s => !ruleSlaveSelected(s, $currentRule),
 		(s, i) => {
 			let l = App.UI.DOM.passageLink(SlaveFullName(s), 'Rules Slave Select Workaround',
-				 () => { App.Utils.setActiveSlaveByIndex(i); });
+				() => { App.Utils.setActiveSlaveByIndex(i); });
 			l.classList.add("emphasizedSlave");
 			return l;
 		}
diff --git a/src/uncategorized/storyCaption.tw b/src/uncategorized/storyCaption.tw
index 20f5dcdff71d2a025233ab23400906fed4ba4d6e..4619afb155668fa6b322b88997d2b59774763a48 100644
--- a/src/uncategorized/storyCaption.tw
+++ b/src/uncategorized/storyCaption.tw
@@ -798,7 +798,7 @@
 			<</if>>
 
 		<<elseif _Pass == "Wardrobe Use">> <br>
-			 [[Wardrobe (shopping)|Wardrobe]]
+			[[Wardrobe (shopping)|Wardrobe]]
 
 		<</if>> /* Closes Pass state check */