Added some code to the main screen.
More main screen code added.