Fixed output of goals, tried to fix web UI.