add progressbar and refine test build process

A progressbar has been added, but is disabled by default now. It can be enabled
via "vg::show_progress = true;". It seems to have interefered with some tests,
so I'm not enabling it for the time being.