ipad fixes

Fixes #7
Fixes #5
Fixes #4
Fixes #3