Cleanup resize logic
Cleanup app references