Some minor cleaning up [ci skip].
Central widget: some work on using a spinner when switching to a remote file or views for a remote file (#456) [ci skip].