added content to ui.sql (and cleaned a little)