Added clearscores command, fixed up bugs.