Added the medal icons. Fixed misc bugs.