Aspects of qubit dynamics in the presence of leakage