Simplifies an if statement
Uses a StringBuilder to improve performance.

Also stops initializing a variable (removes an unused initialization).
Improves a toString method.

Makes it more readable and deletes an useless semicolon.