At the risk of sounding like a broken record, because I say this alot in various posts..
Close desktopX (of course, if it is crashing it probably isn't open anyway)
Open your object desktop folder, then open your desktopx folder, open your "username Theme" folder (username being your name of course).
Delete everything in that folder.
Try starting DesktopX again.
This has worked for me numerous times when I have written a bum script. Also, sometimes when a theme crashes it will sporaticaly delete critical files in that folder and render the theme (and desktopX) completely useless until you take the action I just described.
Let us all know if that helps you any..