Remove some global variables
twm makes use of a lot of global variables. Most of them could be local variables as well. Pick some "low hanging fruits" and turn some globals into locals, which makes the code easier to understand and reason about.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
twm makes use of a lot of global variables. Most of them could be local variables as well. Pick some "low hanging fruits" and turn some globals into locals, which makes the code easier to understand and reason about.