WP-1147/WP-1148/WP-1157

Make progress dialog determinate
Stabilise action bar
Lock screen orientation during initialisation
Code style alignment

Jira issues: WP-1147, WP-1148, WP-1157