Now actually sampling the frame bytes and printing in main. Requires
some cleanup but should be stable.