beautified scoreboard. corrected some bugs.