Some java/lwjgl helper classes