Finalises app setup.
Cleanup.