add photon output
fix
nothing
add sort to qwt search
clean up
clean up statistics