progressbar added, reset to init stage, support for https