Add initial UI.
Fixed Cdp1802 bugs.