Because I'm a terrible programmer. I don't update that field properly when using IDLE. I'll fix that in the next update. But if updating that field causes the error you were getting, that's going to be a problem. Hopefully Matt or Jay will have some clue what's actually causing the error.

Here's the actual code. The connect() and checkMsgs() calls are working properly. It's one of the next four that's causing the exception.