Adding some random UI code intended for simple games.