Adds thaumcraft integration, fixes EOFException for EosHandler.