build test program.  dumps mainwindows now