Various cleanups on the input system.