Make build.xml place nice with lwjgl; refactor some classes.