improve verbosity and logging in megaup.py