remotefortressreader can send over more info over the sockets.
Merge branch 'develop' of github.com:DFHack/dfhack into remote_reader
Disconnected the RemoteReader values from the DF enums.
Merge branch 'develop' of github.com:DFHack/dfhack into remote_reader
Made DFHack buildable. Also added plant proto definitions
Update the version to v0.40.05
Fix SC_WORLD_LOADED/UNLOADED now that loading and saving takes many frames.

During the loading or saving screen, consider the map and world as not
loaded, because they are likely only partially valid. This fixes errors
from the log-region script.
death_info -> incident
criminal_case -> crime
assumed_identity -> identity
Fix build, update XML
Update fastdwarf to work properly in 0.40
Fixed a mistake where MapCache was using the wrong range for root depth.
gave t_matglossPair a few operator overloads so it can be used in std::map
Ignoring the removed job types for DF 0.40+

The version check allows the plugin to work with DF 0.34, just in case.
Localizing a few Lua variables.

It seems like the globals could be localized, too, but I'm not quite sure what that would accomplish.
Moving the global job_types cache into the two functions that use it.

It's mostly an artifact of a misunderstanding, anyway.
Warning about mismatched stockflow entries.

For the most part, mismatches should only happen if the reaction list has changed between world loads, which means either the raw files or the plugin files have been changed.  For now, such entries are ignored, though in some cases it might be possible to recover a new order number by searching through the reaction list.
Deleting old stockflow records.

Once a stockpile has been removed or abandoned, its persistent configuration is obsolete.
Faster stockflow mode, ignoring the bookkeeper.