Cleaned up CameraActivity and experimented with a new CameraPreview class.