Reset preview scale on control change
Use scoped pointers for app and window
Set organisation and application metadata