Fixed some bug. Calculates and displays points.