More cleanup in src/mp/client/

This time cleanup is related to key binding and input management. Note that
the code is now far more readable.