Fixed a couple bugs in some code I wrote that nobody else is using (yet). One didn't seem to affect anything but generated warning messages. Solution was to delete a line of code that wasn't needed. The other put things on the screen ever so slightly in the wrong position.
Fixed another bug. It worked most of the time. Now it works all of the time.