Initial React commit, almost works right.

slice bugfix plus key

fix last bug in renderer

refactor sprite, revert input changes

gitignore