Finished code review changes to the view controller.