graphics.off() to try and close random window that opens