Improved the parnt message processing loop to allow for a sleep between processing cycles to avoid taking over hte processor.