Added extra w to ps for good measure in process monitor.
Using the actual .app/Contents substring for matching OS X processes; this way can deal with e.g. directories without any false positives.