          try
          {
              Display.setVSyncEnabled(this.field_71474_y.field_74352_v);
-@@ -970,9 +979,11 @@
+@@ -971,9 +980,11 @@
  
          if (!this.field_71454_w)
          {

             }
 
             if (this.field_71429_W > 0)
@@ -1834,6 +1848,7 @@
                             }
                         }
                     }
+                    FMLCommonHandler.instance().fireKeyInput();
                 }
             }
 
@@ -2025,12 +2040,15 @@
             this.field_71453_ak.func_74428_b();
         }
 

         this.func_71403_a((WorldClient)null);
         System.gc();
         ISaveHandler isavehandler = this.field_71469_aa.func_75804_a(p_71371_1_, false);
@@ -2067,6 +2085,12 @@
 
         while (!this.field_71437_Z.func_71200_ad())
         {
