Fixed key handling and walking/running images are now properly distributed