Internal improvements to the managed object edit view controller
Prevents a potential crash
Removes non-portrait iPhone orientations