better waiting dialog, with Qt signals
remove redundant definition of Timer class