Fixes

Hi Ben, I ported your XSVF player to STM32. The whole port needs restructuring before it can be merged cleanly into your tree, but in the meantime (?) here are some general fixes. Cheers, Tormod.