handle lack of relative pitches in source document cleanly
debug absolute pitch conversion and watch out for failures
inline redundant writePage() method into write()
test case for issue #48