Engine fixups, DLL stuff, and TDA improvements

Includes #36 and #37, and some corrections to those for building in the trillek engine.
Also some other minor changes to formatting and spelling in a few spots.