add statusbar and thread processing