SI-7491 deprecate overriding App.main and clarify documentation

App.main should never be overridden, so let's enforce it.