Continue porting to new BeQt and TeXSample