Trims annoying trailing whitespace, and as a result reduces filesize. I want to bring the filesize of the script down, and this is one part of that. I'll look into others in the future (removing outdated/unnecessary comments, using more concise syntax in places, etc).
The script is getting super big and the more places we can refactor to bring filesize and line count down, the better imo :-) Maybe get back down to the 22k lines range at some point, and make the script sub-900kb.
Trims annoying trailing whitespace, and as a result reduces filesize. I want to bring the filesize of the script down, and this is one part of that. I'll look into others in the future (removing outdated/unnecessary comments, using more concise syntax in places, etc).
The script is getting super big and the more places we can refactor to bring filesize and line count down, the better imo :-) Maybe get back down to the 22k lines range at some point, and make the script sub-900kb.