PS2 Keyboard -- Why do you cause me so much pain?

Ok, I pretty much had my entire program written.

Keyboard and mouse were working perfect.

And then the keyboard started to act a little funny and have a long delay between me pressing a key and it sending the key to the program.

I had messed with the buffer in PS2Keyboard.cpp so I am thinking that might be the problem.

Now my keyboard no longer works with the Arduino, but when I plug it into a regular computer it types just fine.

Any suggestions? I figured the computer would have reset the keyboard or solved the problem in some way.