Now comparing actor/shape names using ascii code instead of strcmp for both speed and clarity. Also changed the character signifying wire frame mode to '#'. 
To be clear, to request invisibility:
(actor or shape)->setName("~some_name")
To request wire frame:
(actor or shape)->setName("#some_name")