First pass for 0.40 compatibility; still lots left to do, but this will at least build
Some minor corrections
Update plant_tree_info field names
Fix crashes caused by missing globals
Update find-offsets, find gview properly even if INTRO is enabled
Fix some crashes when running without globals and update structures.
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
Display all found offsets on completion
Make some plugins compile for 0.40

dwarfmonitor: remove StoreItemInChest, StoreItemInCabinet, ProcessPlantsBag, and BrewDrink
dig/diggingInvaders/siege-engine: update special cases for trees to handle roots/branches/trunks
Avoid buffer overrun on mouse clicks
Add an extra check that was missing
Actual correct fix here
Merge branch '0.40-plugin-updates' of github.com:lethosor/dfhack into develop
Merge branch 'find-offsets' of github.com:lethosor/dfhack into develop