Disable the Watchdog Timer
Added XTAL initialization code.