Thanks jasonk!
I was getting that message when ssh'ing from a windows box to the linux box running the app. I guess that sshd accepted the connection, allowing the code to get past the eval, and then died when it couldn't connect to an X display on the windows box.
I can live with that special case being broken, but it would be oh so cool if anyone has workarounds for it!
Thanks!
-Nathan