Init process progress bar. Fix errors when rotate