Added Timer0 improvements