@stoffera, thank you, that was exactly what I needed. Now everything is working for me.
The version is (and was) 1.1 on both Windows and Ubuntu, but with the rebuilt library it works fine on Windows for me now (I built the library on Ubuntu and copied it to Windows).
Thank you again for your help.
I look forward to your tutorial on power management which is what I think I need the most now. I can't figure out how to turn off the display which is of course really hard on the battery life.