Fix iOS resizing, add log messaging from browser