Print an error in case the key file cannot be found.
Only load the IDS resources if everything else went fine.
Move Get/SetVariable() from Actor to Object.