Cleanup isIPad(). Fixes #116