Added a debugging checkbox and output area to the GUI. Created a debugging utility class that will output to the console as well as the new output area. Tested and enabled SQL script generation. Implemented ID range specification. Miscellaneous cleaning and bug fixes.