Can I go ahead and take out the #if/#endif(s) related to the inventory in window_manager.cpp? Do we need them anymore? The condition is '0' and the contents are always commented out, so it looks like they may be left over from testing the inventory dialog.
I think that was from a much earlier attempt to implement an inventory GUI. You can remove it. If we need any of this code again, we can get it from the repository.