Bugfixes.

------
* Fix for an error when joining a raid and loading old data from the saved variables
* Fix for an error when leaving a raid and iteracting with the old CD data
* Fix for potential errors on other occasion, hackfunc implemented