Fix crash when the default sound cannot be loaded.
Fix crash when the default sound cannot be loaded.

This occurred because it tried to return the default value when
registering the default value failed. I deleted some stuff related to
constructing null resources (since a null Handle does not seem to work
well) and some function parameters that I could not understand the
purpose of.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon