AVCam code refactored for Storyboards and AutoLayout.