Fixed some small bugs to get camera preview working.  Implemented a camera preview.