big update, not clean

added sliding progress bar called safetyBar
cleaned connection task