Added functionality to open settings.
Added reference to mainviewcontroller from gameview.