Influencer/UNplugged — pull request #1 by kavehv (2012-07-08 18:25:54+00:00)
Title: bound the while loops to prevent the gui from hanging

If these while loops go unbounded, they can hang the webgui. This is a temporary fix until someone has time to figure out why sometimes those *.pid files don't seem to be created causing the loops to continue looping in the first place.