Changed if statements to evaluate variable values, rather than the output of echo'ing them.... which was stupid
Removed trailing quotes from heredoc
Ensured brew removal instructions are displayed as strings, and do not execute any statements
Reverted back to disk image install for XQuartz, got rid of some pointless exports