Scoreboard more easily configurable

I fixed the errors, they were due to having a global variables name accidentally the same as a locals, and also another where I changed the name to a more suitable one and forgot to reflect that in the render function. It should be all fixed now.