added actionCount for InputManager, changed SpriteDiffuse.shader to be more consistent