Clean up constraint tools

* Remove all semicolons, trailing whitespace, double spaces, excessive
tabulation
* Remove redundant code from some of the tools
* Add Set/GetOperation calls to tools that were missing it
* Switch the tools to a cleaner default preset generation