Fixes to iPad layout and improvements in stats performance