Got the UI mostly working.