Unable to compile LilyPond input file:

line 90 - column 1:
syntax error, unexpected \layout
--------
line 92 - column 28:
unknown escaped string: `\Score'
--------
line 92 - column 28:
string outside of text script or \lyricmode
--------
line 92 - column 35:
not a note name: tempoWholesPerMinute
--------
line 92 - column 56:
syntax error, unexpected '='
--------
line 1 - column 2:
errors found, ignoring music expression
--------
line 96 - column 1:
\paper cannot be used in \score, use \layout instead
--------
line 98 - column 1:
syntax error, unexpected end of input, expecting '}'