QR: Super minor but according to my dumps there's always two 0s there.
Use list comprehensions instead of manual creation

Also does some changes to use comprehensions and join instead of manually reimplementing it
Use lists instead of more roundabout methods
Pass list literals into functions to create gamespy message
Use list literals instead of constantly appending
More list literals (listerals?)