There were some bugs in the code. That's sorted out now. It is sooooo much easier to debug in an interpreter, on the device, than doing the edit-compile-upload-test, edit-compile-upload-test cycle.
Still optimizing. Will add some pictures and update the code in a couple of days. And, yes, it does fit into a matchbox.