Started work on the capture controller. Doesn't quite work yet.