admin templateEditor - enhancements

some improvements on how the progress bar works.
admin wholesale - some debug