Now the character goes up when you hit space and start to fall down when you release it.

Also made some changes on our main loop.