When I exit snes9x, GameEx crashes. Below is the log for when it crashes: 20:30:28.7 11/3/2007: GameEx: Version 8.94: Starting Log 20:30:28.7 11/3/2007: Operating System Platform: Win32NT 20:30:28.7 11/3/2007: Operating System Name: Windows XP 20:30:28.7 11/3/2007: Operating System Version: 5.1.2600 20:30:28.7 11/3/2007: Checking for versions of .net Framework installed 20:30:28.7 11/3/2007: .net Framework 1.1 Installed 20:30:28.7 11/3/2007: .net Framework 2.0 Installed 20:30:28.7 11/3/2007: AMD Athlon 64 Processor 3500+, 1022MB 20:30:28.7 11/3/2007: 2.2Ghz 20:30:28.7 11/3/2007: Running Randomize() 20:30:28.7 11/3/2007: Loading PlugIns 20:30:28.8 11/3/2007: Checking for applications to Launch On Startup 20:30:28.8 11/3/2007: Running Misc startup tasks 20:30:28.8 11/3/2007: Setting Menu types 20:30:28.8 11/3/2007: Opening Configuration File 20:30:28.8 11/3/2007: Getting Configuration Values 20:30:28.8 11/3/2007: Using Theme: Acidbrain Vision 20:30:28.8 11/3/2007: Checking for alternate Image Directory for Theme: Acidbrain Vision 20:30:28.8 11/3/2007: Launching HideOS.exe 20:30:28.8 11/3/2007: Initialising Video/MNG DLL's 20:30:28.8 11/3/2007: Hiding Taskbar 20:30:28.8 11/3/2007: Is Media Center running? 20:30:28.8 11/3/2007: Checking/Creating LCD Registry values 20:30:28.8 11/3/2007: Check Media Center Exit/Start Mode 20:30:28.8 11/3/2007: Media Center Mode 2 20:30:28.9 11/3/2007: Video previews on. Warning: Only recommended on modern systems 20:30:28.9 11/3/2007: Snap Delay set to: 2 20:30:28.9 11/3/2007: Get other settings 20:30:28.9 11/3/2007: Set: Find emulator artwork on best match basis 20:30:28.9 11/3/2007: Start work for Form 20:30:28.9 11/3/2007: Getting Original Screen Size 20:30:28.9 11/3/2007: Opening Database Connection 20:30:28.9 11/3/2007: Initializing Component 20:30:29.0 11/3/2007: Retrieving resolution setting 20:30:29.0 11/3/2007: Initialising Windows Media Player Component 20:30:29.1 11/3/2007: MAME Path is: C:\Emulators\Mame32 20:30:29.1 11/3/2007: Cannot Find MAME Path: MAME Disabled 20:30:29.1 11/3/2007: Loading Controls.ini map file 20:30:29.1 11/3/2007: Loading Custom Emulators 20:30:29.1 11/3/2007: Loading Emulator 2: Nintendo SNES games 20:30:29.4 11/3/2007: Using 3D Alpha Blended Animations. This could be slow 20:30:29.4 11/3/2007: Using General Font: Trebuchet MS 20:30:29.4 11/3/2007: Using Title Font: Trebuchet MS 20:30:29.5 11/3/2007: Initialising DirectDraw 20:30:29.6 11/3/2007: Creating DirectDraw Device 20:30:29.6 11/3/2007: Using Device: Radeon X1900 Series (Omega 3.8.330) 20:30:29.6 11/3/2007: 501mb video memory available 20:30:30.2 11/3/2007: Setting Resolution to 1680x1050 32 bit color 20:30:30.3 11/3/2007: Creating DirectDraw Surfaces 20:30:30.3 11/3/2007: Creating Primary Surface - Full Screen Mode 20:30:30.3 11/3/2007: Creating Back Buffer 20:30:30.4 11/3/2007: Version 2 Theme being used. Loading. 20:30:30.4 11/3/2007: Loading Button Data 20:30:30.4 11/3/2007: Loading Font Data 20:30:30.4 11/3/2007: Loading Layout Data 20:30:30.4 11/3/2007: Loading Taskbar Data 20:30:30.4 11/3/2007: Loading graphic Surfaces 20:30:30.4 11/3/2007: Display is running at: 1680x1050 32bit color, 60hz 20:30:30.4 11/3/2007: Creating Surfaces Misc and Dialogs 20:30:30.4 11/3/2007: Creating Surfaces Volume 20:30:30.4 11/3/2007: Creating Surfaces Arrows 20:30:30.5 11/3/2007: Creating Surfaces GameEXlogo Text 20:30:30.5 11/3/2007: Creating Surfaces Toolbar 20:30:30.5 11/3/2007: Creating Surfaces Backgrounds 20:30:30.9 11/3/2007: Creating Surfaces Toolbar Controls 20:30:30.9 11/3/2007: Creating Surfaces GameEx Logo 20:30:30.9 11/3/2007: Creating Surface Unselected 20:30:30.9 11/3/2007: Creating Surfaces Home & Exit 20:30:30.9 11/3/2007: Creating Surfaces Snaps 20:30:30.9 11/3/2007: Creating Surfaces Menu and List Bars 20:30:31.0 11/3/2007: Creating Fonts 20:30:31.0 11/3/2007: Creating Menu Font 20:30:31.0 11/3/2007: Restoring Menu Font From Cache 20:30:31.0 11/3/2007: Creating Game Font 20:30:31.1 11/3/2007: Creating Font Black 20:30:31.2 11/3/2007: Creating Font Black Small 20:30:31.3 11/3/2007: Creating Game Font Faded 20:30:31.4 11/3/2007: Creating Title Font 20:30:31.4 11/3/2007: Restoring Title Font From Cache 20:30:31.5 11/3/2007: Fonts Created Succesfully 20:30:31.5 11/3/2007: 394mb video memory left available 20:30:31.5 11/3/2007: Creating instance of global keyboard hook 20:30:54.5 11/3/2007: Text/Language: English 20:30:54.5 11/3/2007: Applying Language/Text 20:30:54.5 11/3/2007: Initialising Bass Audio Library 20:30:54.6 11/3/2007: MAME CMD options: -triplebuffer -nowindow -joy 20:30:54.6 11/3/2007: Loading last used Game List 20:30:54.6 11/3/2007: Setting Music Volume 20:30:54.7 11/3/2007: Creating DirectSound Device 20:30:54.7 11/3/2007: Trying: Primary Sound Driver 20:30:54.7 11/3/2007: Loading Sound Files 20:30:54.7 11/3/2007: DirectSound Device Created Successfully 20:30:54.7 11/3/2007: Initialising DirectInput for Gamepad support 20:30:54.7 11/3/2007: Unable to create a joystick device 20:30:54.7 11/3/2007: Playing intro sound file 20:30:54.7 11/3/2007: Initializing MCE Remote 20:30:54.7 11/3/2007: Initialization OK! Starting GameEx! 20:30:54.7 11/3/2007: Testing Main Loop Once: Processing Frame 20:30:55.1 11/3/2007: Testing Main Loop Once: Main Loop ran successfully 20:30:58.7 11/3/2007: Validating: Emulator_2: Custom Background: D:\Emulators_and_Roms\SNES\Snapshots 20:30:58.7 11/3/2007: Warning: Emulator_2: Custom Background Does not exist 20:30:58.7 11/3/2007: Validating: Emulator_2: Snap Path: D:\Emulators_and_Roms\SNES\Snapshots 20:30:58.7 11/3/2007: Validating: Emulator_2: Database: SNES 20:30:58.7 11/3/2007: Validating: Emulator_2: Title Snap Path: 20:30:58.7 11/3/2007: Warning: Emulator_2: Title Snap Path Does not exist 20:30:58.7 11/3/2007: Validating: Emulator_2: Box Art Path: 20:30:58.7 11/3/2007: Warning: Emulator_2: Box Art Path Does not exist 20:30:58.7 11/3/2007: Validating: Emulator_2: Cart Art Path: 20:30:58.7 11/3/2007: Warning: Emulator_2: Cart Art Path Does not exist 20:30:58.7 11/3/2007: Validating: Emulator_2: Manual Path: 20:30:58.7 11/3/2007: Warning: Emulator_2: Manual Path Does not exist 20:30:58.7 11/3/2007: Loading OfflineList Dat File for emulator: 2 20:30:58.7 11/3/2007: Cannot Find Offline List Dat File 20:30:58.8 11/3/2007: Restoring Emulator from Cache 20:30:58.8 11/3/2007: Restoring Emulator Database From Cache 20:31:06.5 11/3/2007: Running: cmd.exe /c C: snes9x.exe "D:\Emulators_and_Roms\SNES\Roms\Super Mario World (U) [!].smc" 20:31:15.7 11/3/2007: 21 Consecutive Exceptions Occured 20:31:15.7 11/3/2007: Object reference not set to an instance of an object. 20:31:15.7 11/3/2007: at w.dj() at w.at() 20:31:15.7 11/3/2007: Trying reinitialising the display after sleeping for 4 seconds 20:31:15.7 11/3/2007: Exception count will be dropped to 15 20:31:20.3 11/3/2007: --**-- 20:31:20.3 11/3/2007: 21 Consecutive Exceptions Occured: Exiting 20:31:20.3 11/3/2007: Closing database connection 20:31:20.3 11/3/2007: First Exception: 20:31:20.3 11/3/2007: Argument 'Number' is not a valid value. 20:31:20.3 11/3/2007: at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object Source, Object Description, Object HelpFile, Object HelpContext) 20:31:20.3 11/3/2007: at w.a(String A_0, Double A_1, Double A_2, Boolean A_3) 20:31:20.3 11/3/2007: at w.a(Int32 A_0, Int32 A_1, Boolean A_2, Boolean A_3) 20:31:20.3 11/3/2007: at w.a(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3, Boolean A_4, Int32 A_5) 20:31:20.3 11/3/2007: at w.a(Boolean A_0, Boolean A_1) 20:31:20.3 11/3/2007: at w.j(Boolean A_0) 20:31:20.3 11/3/2007: at w.ca() 20:31:20.3 11/3/2007: at w.at() 20:31:20.3 11/3/2007: Last Exception: 20:31:20.3 11/3/2007: Object reference not set to an instance of an object. 20:31:20.3 11/3/2007: at w.dj() 20:31:20.3 11/3/2007: at w.at()