offline logging and some other ipad fixes