Functional version of UI.

Only the "Games History" view is implemented.