Added core.main.exit() to quit w/ normal shutdown.

Currently prints profiler information if appropriate.
app.report() now only prints link traffic.

doesn't call report() on each app.