Fixed test project (it now builds again!)
- Added beginning of a synchronous decode method
- Fixed internmittent crash with Test (some file reference objects were being collected before I was done with 'em)
Sped up decode slightly, and made transparent decoding be in-place (half the memory consumption)
Tidied up