added UI on startup, code base on euphoa@baidu tieba