Added "togglevis" command to toggle the visibility system.