another input update

added a way to check the last input and fixed a bug with text render.
also has the server base