fixed some minor things
fixed xyplot due to porting from qt3 to qt4