Tablet.isTablet and fixes