bugfix for highlighting line error and implemented progressbar
bugfix for highlighting line error and implemented progressbar