Make SDL2 library more portable in absence of global assignment function
make SDL2 graphics updating fully independent of input updating
Refactoring the input handling