specify setPixel
add a scale option
reduce code duplication in StageSpec