Fixed errors.

Keyboard lag error was due to keyboard not updating rather than lag.
Thanks Ren.
Reset error was due to clearing all the keys rather than clearing the
values attached to the keys.
Also added 0 for keyboard commands.