gui updated, corrects some bugs