Scratch

Miscellaneous hacks, tests and examples