fixed warnings and lwjgl dependency