Derivation and Improvements of the Quantum Canonical Ensemble from a Regularized Microcanonical Ensemble