Merge pull request #1 from watabou/master

Update TextureCache.java
Fixed colors for Gradient
Added missing key listeners
Fixed preferences and moved files to proper locations
Handling TAB