Thanks for the ideas. See my update above, I've enabled everything you suggested but still no luck. After a second glance, the while loop shouldn't have anything to do with it since all of the
statements in the subs should occur during OSCAR callback events. I know these worked correctly previously, as I used to print to STDERR... before I added code to fork and background the service. Perhaps the fork has something to do with this?