Document key event handling in code. Don't execute every module in phases with repeat functions multiple times but only the ones that have requested a repetition.
Tested SDL2 support for other image types. Finalized design of sprite handling. Closes #293.