Finish legend and solve the Firefox problem. Update sprite buttons.