More code

This is an archive of forgotten or abandoned bits of code, mostly in C#. It should all work but is no longer maintained.