updated worker,made some ajaxify of gui