Cleaning up Qt code. This mostly reformats the code to be more consistent with our...