Changing gitignore to not look for classpath and project files.

This is because I was dumb and didn't set that in the first place, this
is why we had the problem with Java JDK's in the first place.
Keylistener, isAlive method, and a few imports

Also changes the class to extend JPanel.