History edit mode fixes, mobile fixes