Modify the library by disabling the TooManyBone exception in
jme3.mmd.PMDLoaderGLSLSkinning2. 
Refactor the windowless mode code.