Added functionality to put processor to sleep. Does not yet wake up properly.