make display of graph an option. This should fix problem on Windows