Fixed the problems with the segues and cleaned up the storyboard a bit.