Replaced a couple magic nums with constants
Revision: translate hidden rests as <space> elements