complete ui & clean up debugging code

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>