Added a good bit of the user interface.