Optimize Thread, improve timer

Progress and timers update now not within Thread but within timer (every
1 sec)