Tying together the UI

Not working right yet. The UI is not setting the properties correctly.