Fixed a typo in javadoc.
Added a constant empty input state history.
Removed unnecessary modifier.
Don't instantiate a new InputStateHistory if not necessary.