removed non general statements from main.sty, nohup to viewer