Move frame-related stuff into frame.go
Rename Frame.SampleAt to At
Avoid copying in ReadImage
Move Start/Cancel from ReadFrame into ReadImage
Test program: report invalid action