finally working unloading of apps, lots of app changes, changes to how matchables work, some test cases