fix several visual bugs and finish UIs