stats thingy, more efficient stuff and stuff, fix clamping on the user input, and make a logic loop separate from the game loop