structuring

made changes on mainwindow header and docinterface.ccp file , i didi
spaces where they are needed