Fixed keyboard driver and tasking trashing registers bug.