refactored UI and real-time scoring updates