Fix for RomRaider Issue #20

I have a fix for RomRaider issue #20 (github list) in commit fa7578e.  It checks that the component can be cast as a JSplitPane before trying to do so.  If it can't, there's no point (no divider location to save).