Pie: Fix dependency on Last App target for proper alignment.

And reorder a few things