revamp UI, main screen almost finished, fix some bugs