Yeah, I was really hoping to make the final compiled app restartable, I'm not concerned about the IDE. As for saving variables to an array, that would be rough one. My program is about 10,000 lines long now and has probably a couple hundred variables.
However, I do appreciate the suggestions.