add libxvnc, better resource handling