Style fixes.
Application no longer initialized as global

Avoids static-initialization-order fiasco.