Chagelog:
- Bugfix: incremental builds are rerun when not out of date
- Bugfix: crash when subprocess of a command exits
- Improved path functions to handle unusual paths better
- Remove references to data that is no longer needed in order to save memory
- Added debugging info on deadlock