Basically, a dialog to try and clean up code, removing "untidy-looking" practises such as multiple close brackets on a line, using the pipe for 2 lines on one line, etc. I made this on a whim, and really haven't done extensive testing. I am sure that there will be bugs, and things I've missed that should be added. Please tell me these! I will follow up on all comments and adjust the script accordingly: