catch failures in finish()

Conflicts:
	src/sonogen.cc
draw spectrums at proper offsets

Conflicts:
	src/sonogen.cc