java crawl gui, fix some bugs