ui.c fuction comments

found tracing notsecure/utox#243 and notsecure/utox#245