some progress on GUI