General cleanup of view files
Remove markup errors, reduce complexity, and improve readability
Reset the options to default for every attachment