Added more client-side debugging/logging features to better trace errors when a module fails.