Code quality cleanup :: if statements need braces

line ending and tabs need to be fixed due to git/cross ide derp