modified the commented-out debug messages
fixed the Grid capability for Petri Net apps