Started commenting core/InputState.hx
Refactored and a bit of commenting

 - Removed useless code, if we need it later it's in the git history