modified GUI, reorganized functions, changed log directory