Add registry to store instances of classes and use registry in code.

Fixes inability to load new recording file from settings tab by only creating and using one instance of the Recorder class via the registry.