surface masks done. Next: work out pipeline bugs.