Fix GUI bugs;
Adjust GUI initial layout;
Optimize algorithm;

Signed-off-by: ryeyao <rye.y.cn@gmail.com>