Added errors. changed layout for stats dialogue.