I've been trying to work on my MEL Scripting by creating a cleanup script in Maya and I've hit a roadbump. The script creates a new window with a few checkboxes with two buttons to confirm and close the window. Before running, it checks to see if you have an object selected before doing anything. In the back end, it's…