Work around bug 39 -- the settings data is getting confused when a non-data message arrives and the return from the tonumber call wasn't be checked which lead to the crash.  http://big-gay-al.rinstrumau.local/show_bug.cgi?id=39

Quite why the settings aren't coming back is another mystery.