added some more score management, fixed some bugs with the score