put qglview.h into mainwin for deps. unify camera functions into glview.
remove duplicate code.